views:

66

answers:

1
+2  A: 

The new syntax is:

resources :posts do
  resources :comments
end

From official Ruby on Rails guides.

Semyon Perepelitsa