Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fixes broken overrides

  • Loading branch information...
commit 8fe49ce022ce3c351ec2f3a1b8fe1dfbe5382045 1 parent f972c22
John Dyer LBRapid authored
4 app/overrides/redefine_replace_account_summary_with_social_logins.rb
View
@@ -19,7 +19,7 @@
<% @user.user_authentications.each do |auth| %>
<tr class="<%= cycle('even', 'odd') %>">
<td class="normal">
- <%= image_tag "store/social/#{auth.provider}_32.png", :size => "32x32" %>
+ <%= image_tag "/assets/store/#{auth.provider}_32.png", :size => "32x32" %>
<%= auth.provider.capitalize %>
</td>
<td class="normal"><%= auth.nickname %></td>
@@ -37,7 +37,7 @@
<h3>Link Accounts</h3>
<p>You can link your RailsDog Radio account with an account you already have on any of the following sites:</p>
<% Spree::AuthenticationMethod.where(:environment => ::Rails.env).each do |user| %>
- <%= link_to(image_tag("store/social/#{user.provider}_32.png", :size => "32x32", :alt => "#{user.provider}"), "/users/auth/#{user.provider}", :title => "Sign in with #{user.provider}") if user.active %>
+ <%= link_to(image_tag("/assets/store/#{user.provider}_32.png", :size => "32x32", :alt => "#{user.provider}"), "/users/auth/#{user.provider}", :title => "Sign in with #{user.provider}") if user.active %>
<% end %>
})
2  app/overrides/replace_taxon_children.rb
View
@@ -2,5 +2,5 @@
:name => "replace_taxon_children",
:replace => "[data-hook='taxon_children']",
:text => %q{ <div data-hook="taxon_products">
- <%= render :partial => "shared/products", :locals => {:products => @products, :taxon => @taxon } %>
+ <%= render :partial => "spree/shared/products", :locals => {:products => @products, :taxon => @taxon } %>
</div>})
2  app/overrides/replace_taxon_sidebar_navigation.rb
View
@@ -3,5 +3,5 @@
:replace => %q{[data-hook='taxon_sidebar_navigation']},
:closing_selector => %q{},
:text => %q{<div data-hook="taxon_sidebar_navigation">
- <%= render :partial => "shared/taxonomies" %></div>
+ <%= render :partial => "spree/shared/taxonomies" %></div>
</div>})
Please sign in to comment.
Something went wrong with that request. Please try again.