Skip to content

Instantly share code, notes, and snippets.

@mrpunkin
Created January 10, 2013 15:37
Show Gist options
  • Select an option

  • Save mrpunkin/4502921 to your computer and use it in GitHub Desktop.

Select an option

Save mrpunkin/4502921 to your computer and use it in GitHub Desktop.
Recently moved signup / login to our homepage. Any reason not to do this?
root :to => 'application#index', :as => :home
root :to => 'application#index', :as => :new_user, :via=>:get, :defaults=>{:anchor=>"signup"}
root :to => 'application#index', :as => :login_users, :via=>:get
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment