I\'m reading these two pages
The Rails Guides page shows
map.resources :photos, :new
This can be taken as just another syntax -- something good to know may be.
Syntax 1:
resources :users do
member do
get 'signup'
post 'register'
end
end
Rake Route Output will include
signup_users GET /users/signup(.:format) {:action=>"signup", :controller=>"users"}
register_users POST /users/register(.:format) {:action=>"register", :controller=>"use
rs"}
Syntax 2: If you have only one collection route
resources :users do
get 'signup', :on => :collection
end