removed the occurances of =%> at the end of erb blocks and replaced them with -%>
This commit is contained in:
parent
ec5f8ae831
commit
69ecbd1fa3
|
@ -21,5 +21,5 @@
|
||||||
<%- if devise_mapping.oauthable? %>
|
<%- if devise_mapping.oauthable? %>
|
||||||
<%- resource_class.oauth_providers.each do |provider| %>
|
<%- resource_class.oauth_providers.each do |provider| %>
|
||||||
<%= link_to "Sign in with #{provider.to_s.titleize}", oauth_authorize_url(resource_name, provider) %><br />
|
<%= link_to "Sign in with #{provider.to_s.titleize}", oauth_authorize_url(resource_name, provider) %><br />
|
||||||
<% end =%>
|
<% end -%>
|
||||||
<% end -%>
|
<% end -%>
|
|
@ -2,4 +2,4 @@ Home!
|
||||||
|
|
||||||
<%- User.oauth_providers.each do |provider| %>
|
<%- User.oauth_providers.each do |provider| %>
|
||||||
<%= link_to "Sign in with #{provider.to_s.titleize}", user_oauth_authorize_url(provider) %><br />
|
<%= link_to "Sign in with #{provider.to_s.titleize}", user_oauth_authorize_url(provider) %><br />
|
||||||
<% end =%>
|
<% end -%>
|
Loading…
Reference in New Issue