Skip to content

Instantly share code, notes, and snippets.

Created January 14, 2011 09:23
Show Gist options
  • Save anonymous/779401 to your computer and use it in GitHub Desktop.
Save anonymous/779401 to your computer and use it in GitHub Desktop.
Blog::Application.routes.draw do
resources :posts do
resources :comments
# You can have the root of your site routed with "root"
# just remember to delete public/index.html.
root :to => "home#index"
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment