Sorry for such a basic question… total neophyte here!
I’ve put a new action “foobar” in my “things” actioncontroller. I want
to link to this action in a linkto function… so: <% link_to “go to
foobar”, :action=>“foobar” %>. The html href produced is /things/foobar
Problem is the default routing interprets this as being routed to the
“things” controller, “show” action, with “id” = “foobar”.
How can I override this default interpretation and create a link to my
custom “foobar” action?
thanks in advance for any assistance you can provide