Skip to content

Instantly share code, notes, and snippets.

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