Ruby on Rails Sunday, December 9, 2012

This is what I see:

new_parentitem_childitem GET
/parentitems/:parentitem_id/childitems/new(.:format) childitems#new



But this in my routes file doesn't work:

match '/parentitems/:parentitem_id/childitems/new' => 'childitems#new'

--
Posted via http://www.ruby-forum.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@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

No comments:

Post a Comment