set_route_guard('web').'/gallery'], function () { Route::put('gallery/workflow/{example}/{step}', 'GalleryWorkflowController@putWorkflow'); Route::get('gallery/workflow/{example}/{step}/{user}', 'GalleryWorkflowController@getWorkflow'); Route::resource('gallery', 'GalleryResourceController'); }); // Public routes for gallery Route::get('gallery/workflow/{gallery}/{step}/{user}', 'GalleryController@getWorkflow'); Route::get('gallery/popular/{period?}', 'GalleryPublicController@popular'); Route::get('galleries/', 'GalleryPublicController@index'); Route::get('galleries/{slug?}', 'GalleryPublicController@show');