aboutsummaryrefslogblamecommitdiffstats
path: root/guides/code/getting_started/config/routes.rb
blob: 65d273b58d8d80de9435eae79b2dfd7e0dc44fe6 (plain) (tree)
1
2
3
4
5
6
7
                                


                       

                      
   
Rails.application.routes.draw do
  resources :posts do
    resources :comments
  end

  root "welcome#index"
end