Displaying 1 result from an estimated 1 matches for "competition_url".
2006 Jun 04
0
A little confused about routes....
...dules that only works when
its the first component of a route?
2nd)
I thought that the _url helpers assume the current controller, however
if I don''t explicitly list a controller I end up with a generated URL
like:
http://0.0.0.0:3000/competitions/2007+MIT+Open//start
from a call of
competition_url(:action=>''start'', :short_name=>@competition)
from a view generated by a URL served by the RegisterController.
I don''t really mind having to explicitly add the :controller to my _url
helpers, but I''m wondering why it works some places, but not others.
Tha...