I would like to create controllers.
One controller is preferred to be located ‘https://xxx/shops’ for general users.
The other controller is preferred to be located ‘https://xxx/admin/shops’ for admin users.
Both controllers are different but same names.
However I would like to have both controllers manage same shop table in DB.
How can I create them with ‘mix phx.gen.html’ ?
My idea is following.
controllers/shop_controller.ex for General Users.
controllers/admin/shop_controller.ex for Admin Users.
Thanks.