Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
O
onestartup-product-primer_plano
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Francisco Salazar
onestartup-product-primer_plano
Commits
77d3594a
Commit
77d3594a
authored
Sep 04, 2018
by
Francisco Salazar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
rutas
parent
ded198d3
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
routes.php
src/routes.php
+4
-4
No files found.
src/routes.php
View file @
77d3594a
...
...
@@ -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\Product
PrimerPlano
\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\Product
PrimerPlano
\Controller\ProductController@index'
)
->
name
(
'main.product'
);
Route
::
get
(
config
(
"product.slug_category"
)
.
'/{slug_category}'
,
'Onestartup\Product\Controller\ProductController@byCategory'
)
'Onestartup\Product
PrimerPlano
\Controller\ProductController@byCategory'
)
->
name
(
'category.product'
);
Route
::
get
(
config
(
"product.slug_category"
)
.
'/{slug_category}/{slug_subcategory}'
,
'Onestartup\Product\Controller\ProductController@bySubCategory'
)
'Onestartup\Product
PrimerPlano
\Controller\ProductController@bySubCategory'
)
->
name
(
'subcategory.product'
);
});
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment