10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
# File 'lib/generators/iceauth/iceauth_generator.rb', line 10
def make_routes
route "root :to => 'pages#home'"
route "match '/signup', :to => 'users#new'"
route "match '/signin', :to => 'sessions#new'"
route "match '/signout', :to => 'sessions#destroy'"
route "match '/contact', :to => 'pages#contact'"
route "match '/about', :to => 'pages#about'"
route "match '/help', :to => 'pages#help'"
route "resources :sessions, :only => [:new, :create, :destroy]"
route "resources :users"
end
|