summaryrefslogtreecommitdiff
path: root/users/config/routes.rb
diff options
context:
space:
mode:
authorjessib <jessib@leap.se>2013-07-11 11:14:43 -0700
committerjessib <jessib@leap.se>2013-07-11 11:14:43 -0700
commitcc83a756affe1cedd6d828f038632b36e8afe95c (patch)
treebf6d9255ee9709d1504832a61c8918e7ac5cc9bb /users/config/routes.rb
parent09b7f01cac6df1ae11f4129b20b781b78a3706ac (diff)
parent02b69c78eed7682c24cb8361da094bdac45a7749 (diff)
Merge branch 'master' into feature/authentication_generic_error
Diffstat (limited to 'users/config/routes.rb')
-rw-r--r--users/config/routes.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/users/config/routes.rb b/users/config/routes.rb
index b6d583e..4fa185f 100644
--- a/users/config/routes.rb
+++ b/users/config/routes.rb
@@ -17,6 +17,8 @@ Rails.application.routes.draw do
resource :overview, :only => [:show]
resource :email_settings, :only => [:edit, :update]
resources :email_aliases, :only => [:destroy], :id => /.*/
+ post 'deactivate', on: :member
+ post 'enable', on: :member
end
get "/.well-known/host-meta" => 'webfinger#host_meta'