set_route_guard('web').'/plan'], function () { Route::resource('plans', 'PlansResourceController'); }); // Public routes for plans Route::get('plans/popular/{period?}', 'PlansPublicController@popular'); Route::get('plans/', 'PlansPublicController@index'); Route::get('plans/{slug?}', 'PlansPublicController@show');