No action responded to search
- by gazza58
i have defined a method called 'search' in my RecipesController which is not private. in routes.rb i have the following:
map.connect 'recipes/search', :controller => :recipes, :action => :search
i get the following error:
No action responded to search.
Actions: ...
where my method 'search' does not appear in the actions list. if i change the method name from 'search' to 'searchthings' and the action in routes to 'searchthings' then this seems to work. what am i missing here?