K
K
Ken Jee2018-11-19 19:30:46
Yii
Ken Jee, 2018-11-19 19:30:46

How to add processing of two URLs to 1 action in Yii2?

It is necessary to process two urls with one action.
Something like this: you need to process all requests for the urls /my/url1/* and /my/url2/* with the My/Url1 controller eshen. How to do it right?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Dmitry, 2018-11-19
@slo_nik

Good evening.
You can try to do this: ps But why lump everything together? Then do not rake. Each route has its own action.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question