Answer the question
In order to leave comments, you need to log in
How to redirect the main page?
Hello. I need to make the main page at /catalog/shares, catalog is a module, it has a default controller, it has an index method, and the index method takes the shares parameter, how to do this?
Tried this and that but it doesn't work '/' => 'catalog/default/index/shares'
'/' => 'catalog/shares'
Answer the question
In order to leave comments, you need to log in
main and takes a parameter, somehow incompatible, but apparently like this:
and if the link looks like
mysite.com?shares=chtoto
then like this'/' => 'catalog/default/index'
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question