secret
Created

  • Download Gist
gistfile1.txt
1 2 3 4 5 6 7 8 9 10 11 12 13
SampleApp::Application.routes.draw do
resources :users
resources :sessions, only: [:new, :create, :destroy]
 
match '/signin' => 'sessions#new'
match '/signout' => 'sessions#destroy', via: :delete
 
match '/signup' => 'users#new'
match '/help' => 'static_pages#help'
match '/about' => 'static_pages#about'
match '/contact' => 'static_pages#contact'
root :to => 'static_pages#home'
end

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.