about summary refs log tree commit diff
path: root/config
diff options
context:
space:
mode:
authorAsh Furrow <ash@ashfurrow.com>2017-04-23 04:43:42 +0200
committerEugen <eugen@zeonfederated.com>2017-04-23 04:43:42 +0200
commit723f25a9999251b0c3f45c57aa88afa83f315b2d (patch)
tree9b25ee6b6dd7519a95302bbab57149b3263e083d /config
parent59b1de0bcf39473106e5380c129d7436be1ad89a (diff)
Admin UI for confirming users (#2245)
* Shows confirmed status in list.

* Adds ability to confirm users in admin UI.

* Added new english translations.

* Addresses feedback from #2245.

* More feedback.
Diffstat (limited to 'config')
-rw-r--r--config/locales/en.yml2
-rw-r--r--config/routes.rb1
2 files changed, 3 insertions, 0 deletions
diff --git a/config/locales/en.yml b/config/locales/en.yml
index cf492e117..b8463673e 100644
--- a/config/locales/en.yml
+++ b/config/locales/en.yml
@@ -43,6 +43,8 @@ en:
   admin:
     accounts:
       are_you_sure: Are you sure?
+      confirm: Confirm
+      confirmed: Confirmed
       display_name: Display name
       domain: Domain
       edit: Edit
diff --git a/config/routes.rb b/config/routes.rb
index abc77535a..2c8ac1cff 100644
--- a/config/routes.rb
+++ b/config/routes.rb
@@ -86,6 +86,7 @@ Rails.application.routes.draw do
       resource :reset, only: [:create]
       resource :silence, only: [:create, :destroy]
       resource :suspension, only: [:create, :destroy]
+      resource :confirmation, only: [:create]
     end
   end