diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2015-03-21 17:44:40 -0700 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2015-03-21 17:46:00 -0700 |
commit | 777c119fd2f61053937fa57625100168b7dccc8e (patch) | |
tree | 98bdfb65fd9f0ca304a2627019069289b17b9203 /config/routes.rb | |
parent | 9f1c284408e1ab724111830ba0d96f874725991a (diff) | |
download | gitlab-ce-777c119fd2f61053937fa57625100168b7dccc8e.tar.gz |
Restyle oauth accounts at profile page and add ability to unlink accountimprove-profile
Diffstat (limited to 'config/routes.rb')
-rw-r--r-- | config/routes.rb | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/config/routes.rb b/config/routes.rb index 03b4a32a9dd..c30cd768572 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -184,7 +184,11 @@ Gitlab::Application.routes.draw do end scope module: :profiles do - resource :account, only: [:show, :update] + resource :account, only: [:show, :update] do + member do + delete :unlink + end + end resource :notifications, only: [:show, :update] resource :password, only: [:new, :create, :edit, :update] do member do |