diff options
author | Tomer Kimia <tkimia@purdue.edu> | 2014-03-02 18:04:15 -0500 |
---|---|---|
committer | Tomer Kimia <tkimia@purdue.edu> | 2014-03-02 18:04:15 -0500 |
commit | 9438f751c264c61088aabc6368e0aa7cee4d9aef (patch) | |
tree | 95f149445b3633b456999cf813a8e590cdd9fe53 /config | |
parent | 2c5ad6c3fd9cb4de8f393e745bf5c9d6daf4426d (diff) |
added abutton
Diffstat (limited to 'config')
-rw-r--r-- | config/routes.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/config/routes.rb b/config/routes.rb index a4f1f66..75898fd 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -3,9 +3,9 @@ Leaguer::Application.routes.draw do #creates sessions as a resource but limits it to these actions resources :sessions, only: [:new, :create, :destroy] - match 'signup', to: 'users#new', via: 'get' - match 'signin', to: 'sessions#new', via: 'get' - match 'signout', to: 'sessions#destroy', via: 'delete' + match '/signup', to: 'users#new', via: 'get' + match '/signin', to: 'sessions#new', via: 'get' + match '/signout', to: 'sessions#destroy', via: 'delete' resources :pms |