search for: admin_action

Displaying 2 results from an estimated 2 matches for "admin_action".

2006 Apr 10
1
routing
...ly, until I added a second controller to my project. The new (second) controller is "Admin". The problem is I cant reach the actions in the second controller. http://mysite.com/some_action is routed to some_action in default_controller. That is how I want it to be. But how do I reach admin_action in the Admin controller? This doesnt work, for obvious reasons: http://mysite.com/admin/some_action it gets routed to the undefined action admin in default_controller with id some_action. How can I correct this so that http://mysite.com/some_action is routed to to default_controller/some_act...
2009 Jul 19
1
admin rounting
Hello everyone, I''ve recently switched from CakePHP to rails. In CakePHP there is a feature called admin routing where your route would look like: /admin/controller/action/ which would map to a method admin_action() in the specified controller. Is something like this available in Rails as well or would I always have to create a separate controller? thanks for your help Marc