set_route_guard('web').'/order'], function () { Route::resource('product', 'ProductResourceController'); }); // Public routes for product Route::get('product/popular/{period?}', 'ProductPublicController@popular'); Route::get('orders/', 'ProductPublicController@index'); Route::get('orders/{slug?}', 'ProductPublicController@show');