R
R
Rawe No2021-12-27 00:28:11
Yii
Rawe No, 2021-12-27 00:28:11

How to set Url yii2?

Good afternoon!
There was a question:
There is a site with a theme - gallery.

I have a photo module, it is responsible for the admin panel (creating a category and an image):
Some url for the admin panel:
basic/photo/category/create
basic/photo/image/create
basic/photo/image
basic/photo/category

Now what to do:
You need to add admin to all url-lames for the photo module.
By type:
basic/photo/admin/category/create
basic/photo/admin/image/create
basic/photo/admin/image
basic/photo/admin/category

How to do this?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question