Ruby on Rails Sunday, August 1, 2010

In beta4 I could do this:

resources :sections do
get :new, :on=>:member
end

But not with RC

If I change "new" to be something else, I can do that

So it seems that "new" is now treated like a reserved word of sorts?

I really need to share the new method between "sections/new" and
"sections/1/new" because my structure is a tree, so it makes sense to
re-use

Anyone know anything about this?

cheers!

--
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@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

No comments:

Post a Comment