Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'config/routes/profile.rb')
-rw-r--r--config/routes/profile.rb10
1 files changed, 9 insertions, 1 deletions
diff --git a/config/routes/profile.rb b/config/routes/profile.rb
index 91f6eb678e4..bee1a0f108e 100644
--- a/config/routes/profile.rb
+++ b/config/routes/profile.rb
@@ -38,7 +38,15 @@ resource :profile, only: [:show, :update] do
end
end
resource :preferences, only: [:show, :update]
- resources :keys, only: [:index, :show, :create, :destroy]
+
+ resources :saved_replies, only: [:index], action: :index
+
+ resources :keys, only: [:index, :show, :create, :destroy] do
+ member do
+ delete :revoke
+ end
+ end
+
resources :gpg_keys, only: [:index, :create, :destroy] do
member do
put :revoke