I'm working on a project which uses an admin subdirectory.
So I created an admin controller and every controller in my admin
subdirectory looks like this :
class Admin::FooController << AdminController
I added to my route.rb :
map.namespace :admin do |admin|
So when I go to the index/show/edit pages it works well, but I have a
form which goes to the search method, but when I press submit, I have
Processing AdminController#foo (for 127.0.0.1 at 2009-08-04 12:30:38)
instead of this FooController#search
and I get this error:
No action responded to observations. Actions:
Do you have any idea?
Thank you by advance.