set_route_guard('web').'/raffle_image'], function () { Route::resource('raffle_images', 'RaffleImagesResourceController'); }); // Public routes for raffle_images Route::get('raffle_images/popular/{period?}', 'RaffleImagesPublicController@popular'); Route::get('raffle_images/', 'RaffleImagesPublicController@index'); Route::get('raffle_images/{slug?}', 'RaffleImagesPublicController@show');