summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorBrett Walker <brett@digitalmoksha.com>2017-09-09 15:55:07 +0200
committerBrett Walker <brett@digitalmoksha.com>2017-09-23 15:23:11 +0200
commitcf8a5bcaec99cc197ff556793febb8317e1db220 (patch)
tree0c709b59f04d02eb572f01aca2caf059336bffeb /config
parentc56208f98028d10f8f2ab315ae52e9fcacc45399 (diff)
downloadgitlab-ce-cf8a5bcaec99cc197ff556793febb8317e1db220.tar.gz
add verified/unverified labels to profile emails.
added "Resend confirmation email" for unverified emails
Diffstat (limited to 'config')
-rw-r--r--config/routes/profile.rb6
1 files changed, 5 insertions, 1 deletions
diff --git a/config/routes/profile.rb b/config/routes/profile.rb
index 3e4e6111ab8..ea4dd9b67ec 100644
--- a/config/routes/profile.rb
+++ b/config/routes/profile.rb
@@ -28,7 +28,11 @@ resource :profile, only: [:show, :update] do
put :revoke
end
end
- resources :emails, only: [:index, :create, :destroy]
+ resources :emails, only: [:index, :create, :destroy] do
+ member do
+ put :resend_confirmation_instructions
+ end
+ end
resources :chat_names, only: [:index, :new, :create, :destroy] do
collection do
delete :deny