Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

This project is archived and is in readonly mode.

Names for nested resources changed (AWDwR3, section 21)

#3561

Given the following "new DSL" style route definition:

  resources :articles do
    resources :comments
  end

The following named route is generated:

article_edit_comment GET    /articles/:article_id/comments/:id/edit(.:format) {:controller=>"comments", :action=>"edit"}

The correct name for this route is edit_article_comment

Reported by Sam Ruby · December 11th, 2009 @ 12:33 PM

State: resolved
Milestone: 3.0.2
Assigned to: josh josh
Importance: Medium

Activity

  1. Repository
  2. Jeremy Kemper
    Jeremy Kemper
    • Milestone set to 3.0.2
    • Importance changed from to Medium

    October 15th, 2010 @ 11:01 PM