admin subdirectory and "No action responded to observations." error

Hi there,

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|     admin.resources :foos end

and

map.connect 'admin/:controller/:action/:id'

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 this :

Processing AdminController#foo (for 127.0.0.1 at 2009-08-04 12:30:38) [POST]

instead of this FooController#search

and I get this error:

Unknown action

No action responded to observations. Actions:

Do you have any idea? Thank you by advance.

-Yoann