Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Rails.application.routes.draw do
resources :posts do
resources :comments
end
# For details on the DSL available within this file, see http://guides.rubyonrails.org/routing.html
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.