update: cruddy request controller

This commit is contained in:
Roardom
2023-04-21 17:09:09 +00:00
parent 901ab78d9c
commit 4c93353f03
23 changed files with 285 additions and 207 deletions
+2 -2
View File
@@ -45,7 +45,7 @@ class ReportController extends Controller
]);
if ($v->fails()) {
return to_route('request', ['id' => $id])
return to_route('requests.show', ['id' => $id])
->withErrors($v->errors());
}
@@ -60,7 +60,7 @@ class ReportController extends Controller
'solved' => 0,
]);
return to_route('request', ['id' => $id])
return to_route('requests.show', ['id' => $id])
->withSuccess(trans('user.report-sent'));
}