DashboardController #931
-
This is probably not a problem related to Backpack but perhaps a shortcoming of mine which not even GPT was able to resolve..
Which works perfectly, but now I created a DashboardController because I need to run queries and pass data to dashboard.blade.php |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
Hi @blondie63 What error did you get? If you want to control dashboard routes yourself, in config/backpack/base.php set to false
Route::get('dashboard', 'AdminController@dashboard')->name('backpack.dashboard');
|
Beta Was this translation helpful? Give feedback.
-
Great! i will close this issue then, but please feel free to re-open or create a new one if needed. Cheers. |
Beta Was this translation helpful? Give feedback.
Hi @blondie63
What error did you get?
If you want to control dashboard routes yourself, in config/backpack/base.php set to false
Route::get('dashboard', 'AdminController@dashboard')->name('backpack.dashboard');
Route::get('/', 'AdminController@redirect')->name('backpack');