for some reason, I've been dreading the whole "routes" thing after going over the tutorial. Have developed a hand full of web pages with some success, but sticking with the actions that rails provide... Now I need to branch out and invoke new actions. I know I need to spend time reading all about routes, but I did want one new action to work ....
I have a typical user mode/controller/views and all I have in my routes file pertaining to users is
Now I want to add a link on one of the users page that allows him to perform a search on records of another model. I tried the following link_to with no avail.
<%= link_to "Show all tasks", :controller => "users", :action => "search_all" %>
My intent is to provide a link button, and when clicked have my search_all action in my user controller to be invoked. I know I need to update my routes.rb....
Can someone provide me with the changes I need to make?