Skip to content

Instantly share code, notes, and snippets.

@digitaltoad
Created August 26, 2011 18:26
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save digitaltoad/1174059 to your computer and use it in GitHub Desktop.
Save digitaltoad/1174059 to your computer and use it in GitHub Desktop.
Rails.application.routes.draw do
resource :home
root :to => 'home#index'
end
Rails.application.routes.draw do
web_start
web_start_required_for do
resource :home
root :to => 'home#index'
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment