Forum: Ruby on Rails Named route called "connect"

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
Bb0f5caf498c99d2300692c1b3089931?d=identicon&s=25 dodeantn (Guest)
on 2009-02-24 23:29
(Received via mailing list)

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?

Many thanks in advance.
81b61875e41eaa58887543635d556fca?d=identicon&s=25 Frederick Cheung (Guest)
on 2009-02-24 23:34
(Received via mailing list)
On 24 Feb 2009, at 18:02, dodeantn wrote:

> accomplish this?
> ...

just expands to map.named_route('foo', ...) if my memory is correct

This topic is locked and can not be replied to.