summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorFotis Gimian <fgimiansoftware@gmail.com>2015-03-31 21:04:47 +1100
committerFotis Gimian <fgimiansoftware@gmail.com>2015-03-31 21:04:47 +1100
commitcbe9654abe88c7ada25e7ce5a6f219626b911cfa (patch)
tree75e57e8e2877fc7d217874b719053b78609f8a3c /app
parent0191857fac465fbfb4acad1b923c29f3b05529aa (diff)
downloadgitlab-ce-cbe9654abe88c7ada25e7ce5a6f219626b911cfa.tar.gz
Disable turbolinks for omniauth link to avoid rendering problems
Diffstat (limited to 'app')
-rw-r--r--app/views/devise/shared/_omniauth_box.html.haml2
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"