Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- SampleApp::Application.routes.draw do
- root :to => 'static_pages#home'
- resources :users
- resources :sessions, :only => [:new, :create, :destroy]
- match '/signin', :to => 'sessions#new'
- match '/signup', :to => 'users#new'
- match '/signout', :to => 'sessions#destroy', :via => :delete
- match '/help', :to => 'static_pages#help'
- match '/contact', :to => 'static_pages#contact'
- match '/about', :to => 'static_pages#about'
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement