name('home'); // Administration Route::group(['prefix' => 'admin'], function () { Route::get('/', 'Admin\DefaultController@index')->name('admin'); Route::get('albums/{id}/delete', 'Admin\AlbumController@delete')->name('albums.delete'); Route::resource('albums', 'Admin\AlbumController'); Route::resource('photos', 'Admin\PhotoController'); });