diff options
author | Connor Shea <connor.james.shea@gmail.com> | 2016-07-25 11:40:40 -0600 |
---|---|---|
committer | Connor Shea <connor.james.shea@gmail.com> | 2016-08-03 11:50:38 -0600 |
commit | 602fe111912bac119e752b0dfa3b4b3cd81585ff (patch) | |
tree | 7f39c59bb7ca285482bc9c57450394910dc761c3 /app/views/profiles | |
parent | e8c6f119cd7cf519db3ad1622786aad3156324d4 (diff) | |
download | gitlab-ce-602fe111912bac119e752b0dfa3b4b3cd81585ff.tar.gz |
Remove provider path, replace with dynamic path.devise-deprecations
Diffstat (limited to 'app/views/profiles')
-rw-r--r-- | app/views/profiles/accounts/show.html.haml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/profiles/accounts/show.html.haml b/app/views/profiles/accounts/show.html.haml index 7fadd7bf9f1..c80f22457b4 100644 --- a/app/views/profiles/accounts/show.html.haml +++ b/app/views/profiles/accounts/show.html.haml @@ -70,7 +70,7 @@ = link_to unlink_profile_account_path(provider: provider), method: :delete, class: 'provider-btn' do Disconnect - else - = link_to provider_path(provider), method: :post, class: 'provider-btn not-active', "data-no-turbolink" => "true" do + = link_to omniauth_authorize_path(:user, provider), method: :post, class: 'provider-btn not-active', "data-no-turbolink" => "true" do Connect %hr - if current_user.can_change_username? |