I want my urls structure to be like this:
www.stackoverflow.com/order/...
www.stackoverflow.com/admin/order/...
Now both of the above are using different controllers.
/controllers/ordercontroller
/controllers/admin/ordercontroller
Is there a way that I can have this url structure?
I was thinking if I could do this:
/controllers/ordercontroller
/controllers/admin/adminordercontroller
And somehow, in my routes, prefix the name of all the admin related controllers with 'admin' ?