Skip to content

@remear /gist:dd6821926dc94e6587f8 secret
Created

Embed URL

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.