set_route_guard('web').'/notification'], function () { Route::put('notifications/workflow/{example}/{step}', 'NotificationsWorkflowController@putWorkflow'); Route::get('notifications/workflow/{example}/{step}/{user}', 'NotificationsWorkflowController@getWorkflow'); Route::resource('notifications', 'NotificationsResourceController'); }); // Public routes for notifications Route::get('notifications/workflow/{notifications}/{step}/{user}', 'NotificationsController@getWorkflow'); Route::get('notifications/popular/{period?}', 'NotificationsPublicController@popular'); Route::get('notifications/', 'NotificationsPublicController@index'); Route::get('notifications/{slug?}', 'NotificationsPublicController@show');