Skip to content

Instantly share code, notes, and snippets.

@alanmaciel
Created October 31, 2012 20:11
Show Gist options
  • Save alanmaciel/3989511 to your computer and use it in GitHub Desktop.
Save alanmaciel/3989511 to your computer and use it in GitHub Desktop.
Routes file
Shoppertown::Application.routes.draw do
match '/benefits', to: 'content_pages#benefits'
match '/howto_buy', to: 'content_pages#howto_buy'
match '/howto_sell', to: 'content_pages#howto_sell'
match '/about', to: 'content_pages#about'
match '/contact', to: 'content_pages#contact'
match '/policies', to: 'content_pages#policies'
match '/legal', to: 'content_pages#legal'
authenticated :user do
root :to => 'home#index'
end
root :to => "home#index"
devise_for :users
resources :users
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment