Commit 77d3594a by Francisco Salazar

rutas

parent ded198d3
......@@ -35,15 +35,15 @@ Route::group(['middleware' => ['web', 'auth', 'is_admin']], function(){
});
Route::group(['middleware' => ['web']], function(){
Route::get(config("product.slug_products").'/{slug}', 'Onestartup\Product\Controller\ProductController@show')->name('show.product');
Route::get(config("product.slug_products").'/{slug}', 'Onestartup\ProductPrimerPlano\Controller\ProductController@show')->name('show.product');
Route::get(config("product.slug_products"), 'Onestartup\Product\Controller\ProductController@index')->name('main.product');
Route::get(config("product.slug_products"), 'Onestartup\ProductPrimerPlano\Controller\ProductController@index')->name('main.product');
Route::get(config("product.slug_category").'/{slug_category}',
'Onestartup\Product\Controller\ProductController@byCategory')
'Onestartup\ProductPrimerPlano\Controller\ProductController@byCategory')
->name('category.product');
Route::get(config("product.slug_category").'/{slug_category}/{slug_subcategory}',
'Onestartup\Product\Controller\ProductController@bySubCategory')
'Onestartup\ProductPrimerPlano\Controller\ProductController@bySubCategory')
->name('subcategory.product');
});
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment