Answer the question
In order to leave comments, you need to log in
How to set up routing in Yii2?
In addition to the main site, it is necessary that there are landing pages, simple static html pages, which will each be in their own folder in the web folder, as I understand it, these pages need access, how to set up routing for them?
rules' => [
/* Signup */
'signup' => 'auth/signup/signup',
/* Authorization */
'<_a:login|logout>' => 'auth/authorization/<_a>',
]
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question