summaryrefslogtreecommitdiff
path: root/users/config/routes.rb
diff options
context:
space:
mode:
authorazul <azul@riseup.net>2013-07-11 00:37:45 -0700
committerazul <azul@riseup.net>2013-07-11 00:37:45 -0700
commit02b69c78eed7682c24cb8361da094bdac45a7749 (patch)
treea45ed7076a96ddb1601cf9a2e44ae37160f90319 /users/config/routes.rb
parent3113f8b814417a896ad5340fda88927733f8ab22 (diff)
parenta40a83cb07d9aba8915cd2c4a25aa76e0cf6760e (diff)
Merge pull request #56 from leapcode/feature/disable_account
Feature/disable account
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'