git add .
git commit "fix final issues before project delivery"
This commit is contained in:
@@ -11,7 +11,7 @@ class ActivityLogController extends Controller
|
||||
public function index()
|
||||
{
|
||||
$logs=ActivityLog::with('admin')
|
||||
->latest()
|
||||
->orderByDesc('created_at')
|
||||
->paginate(4);
|
||||
|
||||
return view('admin.activityLog.index',compact('logs'));
|
||||
|
||||
@@ -121,7 +121,7 @@ class TourController extends Controller
|
||||
|
||||
ActivityLog::create([
|
||||
'admin_id' => auth('admin')->id(),
|
||||
'action' => 'create',
|
||||
'action' => 'update',
|
||||
'model' => 'Tour',
|
||||
'model_id' => $tour->id,
|
||||
'description' => 'ویرایش تور',
|
||||
@@ -153,7 +153,7 @@ class TourController extends Controller
|
||||
|
||||
ActivityLog::create([
|
||||
'admin_id' => auth('admin')->id(),
|
||||
'action' => 'create',
|
||||
'action' => 'delete',
|
||||
'model' => 'Tour',
|
||||
'model_id' => $tour->id,
|
||||
'description' => 'حذف تور',
|
||||
|
||||
Reference in New Issue
Block a user