Sign in through GitHub

Please read for an updated status on RailsCasts:

Learn more or hide this

Manuel's Profile

GitHub User: mhutter

Site: http://mhutter.net

Comments by Manuel

Avatar

Why not just use a route like this?

ruby
get ':commentable_type/:id/comments', as: :comments
get ':commentable_type/:id/comments/new', as: :new_comment