diff options
author | Gareth Rees <gareth@mysociety.org> | 2014-09-24 09:57:32 +0100 |
---|---|---|
committer | Gareth Rees <gareth@mysociety.org> | 2014-09-24 09:57:32 +0100 |
commit | 58df56cda975b7ce9f88341082b5a0e824467598 (patch) | |
tree | 64b55d9d0461e9373da2cfbbd71e4d7ccfa6515b | |
parent | c7dcd1d4d13b62184041fc51754c385c3b97963a (diff) | |
parent | 1150ce255c4f59da9404e1b4ccfc242b7902cbc7 (diff) |
Merge branch 'hotfix/0.19.0.6' into rails-3-develop
-rw-r--r-- | config/routes.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/config/routes.rb b/config/routes.rb index 9f426fabf..f557e681b 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -72,7 +72,8 @@ Alaveteli::Application.routes.draw do # Use /user/XXXX for things that anyone can see about that user. # Note that /profile isn't indexed by search (see robots.txt) match '/profile/sign_in' => 'user#signin', :as => :signin - match '/profile/sign_up' => 'user#signup', :as => :signup + match '/profile/sign_up' => 'user#signup', :as => :signup, :via => :post + match '/profile/sign_up' => 'user#signin', :via => :get match '/profile/sign_out' => 'user#signout', :as => :signout match '/c/:email_token' => 'user#confirm', :as => :confirm |