On 24 Feb 2009, at 18:02, dodeantn wrote:
>
> Hi,
>
> is it possible to create a named route called "connect"? There's no
> way to do it the "normal" way (e.g. map.connect :controller =>
> "connect", :action => "index") since connect is the name of a
> predefined method in the routing mechanism of rails.
>
> Is it possible to declare the connection and the helper methods
> separately? Are there public ActionController::Routing methods to
> accomplish this?
>
map.foo ...
just expands to map.named_route('foo', ...) if my memory is correct
Fred
> Many thanks in advance.
>
> >
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Talk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---