# Admin subdirectory and "No action responded to observations." error

**URL:** <https://www.ruby-forum.com/t/admin-subdirectory-and-no-action-responded-to-observations-error/173202>\
**Category:** Rails\
**Created:** [August 4, 2009, 9:45pm UTC](https://www.ruby-forum.com/t/admin-subdirectory-and-no-action-responded-to-observations-error/173202 "2009-08-04T21:45:48Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Yoann-Z](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/y/59ef9b/32.png) [@Yoann-Z](https://www.ruby-forum.com/u/Yoann-Z)\
**Post date:** [August 4, 2009, 9:45pm UTC](https://www.ruby-forum.com/t/admin-subdirectory-and-no-action-responded-to-observations-error/173202/1 "2009-08-04T21:45:48Z")

</div>

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
