RailsCasts Pro episodes are now free!
Learn more or hide this
GitHub User: mhutter
Site: http://mhutter.net
Why not just use a route like this?
get ':commentable_type/:id/comments', as: :comments get ':commentable_type/:id/comments/new', as: :new_comment
Why not just use a route like this?