Voyager
1.6
Search…
⌃K
Links

Overriding Routes

You can override any Voyager routes by writing the routes you want to overwrite below Voyager::routes(). For example if you want to override your post LoginController:
Route::group(['prefix' => 'admin'], function () {
Voyager::routes();
// Your overwrites here
Route::post('login', ['uses' => '[email protected]', 'as' => 'postlogin']);
});