On 9/23/06, Christophe Mckeon
<rails-mailing-list-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org>
wrote:>
> 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
Nope, just /new. Use new_foo_path as your route.
--
Rick Olson
http://weblog.techno-weenie.net
http://mephistoblog.com
--~--~---------~--~----~------------~-------~--~----~
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
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk
-~----------~----~----~----~------~----~------~--~---