Overriding Routes
Learn how to override a Laravel Admin Panel route
You can override any Laravel Admin Panel routes by writing routes that you want to rewrite below Admin::routes()
. For example, if you want to override your SettingController:
Route::group(['prefix' => 'admin'], function () {
Admin::routes();
// Your overwrites here
Route::get('settings', ['uses' => 'SettingController@index', 'as' => 'settings.index']);
});
Updated less than a minute ago
What’s Next