diff options
author | Gareth Rees <gareth@mysociety.org> | 2014-09-24 09:54:19 +0100 |
---|---|---|
committer | Gareth Rees <gareth@mysociety.org> | 2014-09-24 09:54:19 +0100 |
commit | d12c236fbd606fb38c01aebb39694a568740de06 (patch) | |
tree | 5021327065224ca06473386af57e19ed4c5340e5 | |
parent | 967c422f3150da94c3756be84f35d021ed69f5e6 (diff) | |
parent | 1150ce255c4f59da9404e1b4ccfc242b7902cbc7 (diff) |
Merge branch 'hotfix/0.19.0.6'0.19.0.6
-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 |