diff options
author | jessib <jessib@leap.se> | 2013-07-03 14:07:59 -0700 |
---|---|---|
committer | jessib <jessib@leap.se> | 2013-07-03 14:07:59 -0700 |
commit | 6c413d3b0c4f9343fe35dbd6ad65b87dca4b4831 (patch) | |
tree | 115808c1aa70bb7a3257bbc15779b9b942950c27 /users/config/routes.rb | |
parent | 3ead553bdd6b28c8210d9dcb764db407ba580c23 (diff) |
Accounts can be enabled or not. Admins can edit this property.
Diffstat (limited to 'users/config/routes.rb')
-rw-r--r-- | users/config/routes.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/users/config/routes.rb b/users/config/routes.rb index 9a9a40e..cd510a8 100644 --- a/users/config/routes.rb +++ b/users/config/routes.rb @@ -15,6 +15,8 @@ Rails.application.routes.draw do get "signup" => "users#new", :as => "signup" resources :users do resources :email_aliases, :only => [:destroy], :id => /.*/ + post 'deactivate', on: :member + post 'enable', on: :member end get "/.well-known/host-meta" => 'webfinger#host_meta' |