diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2015-04-23 16:11:21 +0300 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2015-04-23 16:11:21 +0300 |
commit | ac4968b97ea27311aa9dc26c7f017f4dbf54d8bb (patch) | |
tree | 7901e00179e1b8995b6cec0b85432df5135620fd | |
parent | 285ae60c15c913aa6145554ecbddf9b966ebd0e7 (diff) | |
parent | cbe9654abe88c7ada25e7ce5a6f219626b911cfa (diff) | |
download | gitlab-ce-ac4968b97ea27311aa9dc26c7f017f4dbf54d8bb.tar.gz |
Merge pull request #9062 from fgimian/omniauth-disable-turbolink
Disable turbolinks for omniauth link to avoid rendering problems
-rw-r--r-- | app/views/devise/shared/_omniauth_box.html.haml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/devise/shared/_omniauth_box.html.haml b/app/views/devise/shared/_omniauth_box.html.haml index b647b906b71..8dce0b16936 100644 --- a/app/views/devise/shared/_omniauth_box.html.haml +++ b/app/views/devise/shared/_omniauth_box.html.haml @@ -7,4 +7,4 @@ - if default_providers.include?(provider) = link_to oauth_image_tag(provider), omniauth_authorize_path(resource_name, provider), class: 'oauth-image-link' - else - = link_to provider.to_s.titleize, omniauth_authorize_path(resource_name, provider), class: "btn" + = link_to provider.to_s.titleize, omniauth_authorize_path(resource_name, provider), class: "btn", "data-no-turbolink" => "true" |