set_route_guard('web').'/rental'], function () { Route::resource('rentals', 'RentalsResourceController'); }); // Public routes for rentals Route::get('rentals/popular/{period?}', 'RentalsPublicController@popular'); Route::get('rentals/', 'RentalsPublicController@index'); Route::get('rentals/{slug?}', 'RentalsPublicController@show');