Map.resources Q

hi,

so if i write map.resources :foo

then a GET to /foo;new should invoke FooController#new right, but that
doesn’t seem to work, whereas /foo/new does.

so am i missing something, i thought you were supposed to get ;new and
not /new for free?

i’m on edge rails.

thanks,
_c

On 9/23/06, Christophe M. [email protected] wrote:

i’m on edge rails.

thanks,
_c

Nope, just /new. Use new_foo_path as your route.


Rick O.
http://weblog.techno-weenie.net
http://mephistoblog.com

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs