Ruby on Rails Wednesday, October 31, 2012

Sorry, use a collection, not a member:


Cbapp::Application.routes.draw do
resources :users do
collection do
get 'login'
end
end
root :to => 'users#index'
end

--
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