add namespace to v3 route
This commit is contained in:
@@ -22,7 +22,7 @@ class ItemsManagementController extends Controller
|
||||
);
|
||||
}
|
||||
|
||||
public function getSubItems(InfoItem $item): JsonResponse
|
||||
public function getSubItems($item): JsonResponse
|
||||
{
|
||||
return $this->successResponse(
|
||||
InfoItem::query()
|
||||
|
||||
@@ -254,7 +254,9 @@ class RoadObservationController extends Controller
|
||||
{
|
||||
$data = RoadObservationHistory::query()
|
||||
->where('id', '=', $roadObserved->id)
|
||||
->where('action', '=', 'refer')->get([
|
||||
->where('action', '=', 'refer')
|
||||
->orderBy('created_at', 'desc')
|
||||
->get([
|
||||
'created_at', 'description', 'from_edareh', 'to_edareh',
|
||||
'from_province', 'to_province', 'user_id'
|
||||
]);
|
||||
|
||||
Reference in New Issue
Block a user