Commit cbe9654a authored by Fotis Gimian's avatar Fotis Gimian

Disable turbolinks for omniauth link to avoid rendering problems

parent 0191857f
...@@ -7,4 +7,4 @@ ...@@ -7,4 +7,4 @@
- if default_providers.include?(provider) - if default_providers.include?(provider)
= link_to oauth_image_tag(provider), omniauth_authorize_path(resource_name, provider), class: 'oauth-image-link' = link_to oauth_image_tag(provider), omniauth_authorize_path(resource_name, provider), class: 'oauth-image-link'
- else - 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"
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment