summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorAzul <azul@leap.se>2014-07-04 15:40:54 +0200
committerAzul <azul@leap.se>2014-07-05 10:21:07 +0200
commit87e9ccbcdf4f99dd898b0715750092a27fff7e94 (patch)
tree9e49a287c6e95d92323253d899afa367a6f1e14e /config
parent24d108e15c38ca572d5339a39cb110d9067c0b3d (diff)
Enable unblocking handles in identities tab
There's an identities tab now for admins that will allow unblocking blocked handles. It should be easy to expand for aliases and forwards and other types of actions such as editing.
Diffstat (limited to 'config')
-rw-r--r--config/locales/users.en.yml7
-rw-r--r--config/routes.rb2
2 files changed, 7 insertions, 2 deletions
diff --git a/config/locales/users.en.yml b/config/locales/users.en.yml
index f0fcb3d..bebf1cf 100644
--- a/config/locales/users.en.yml
+++ b/config/locales/users.en.yml
@@ -1,6 +1,9 @@
en:
- layouts:
- users: "Users"
+ common:
+ navigation_item:
+ users: "Users"
+ identities: "Usernames"
+ tickets: "Tickets"
user_control_panel: "user control panel"
account_settings: "Account Settings"
username: "Username"
diff --git a/config/routes.rb b/config/routes.rb
index 4ccfe62..468e14e 100644
--- a/config/routes.rb
+++ b/config/routes.rb
@@ -48,6 +48,8 @@ LeapWeb::Application.routes.draw do
post 'deactivate', on: :member
post 'enable', on: :member
end
+
+ resources :identities, :only => [:index, :destroy]
end
get "/.well-known/host-meta" => 'webfinger#host_meta'