set_route_guard('web').'/pharmacy'], function () { Route::resource('pharmacy', 'PharmacyResourceController'); }); // Public routes for pharmacy Route::get('pharmacy/popular/{period?}', 'PharmacyPublicController@popular'); Route::get('pharmacies/', 'PharmacyPublicController@index'); Route::get('pharmacies/{slug?}', 'PharmacyPublicController@show');