Permalink
Browse files

Update app/views/spree/static_content/_static_content_list.html.erb

  • Loading branch information...
1 parent 4c8879a commit bd610e20660bcf591ad15048f3d74a036598750f Matthias Wagner committed Apr 16, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 app/views/spree/static_content/_static_content_list.html.erb
@@ -1,2 +1,2 @@
-<% page_uri = app.spree_path == '/' ? page.slug : app.spree_path + page.slug %>
+<% page_uri = Rails.application.spree_path == '/' ? page.slug : Rails.application.spree_path + page.slug %>
<li class=<%=(request.fullpath.gsub('//','/') == page_uri) ? 'current' : 'not'%>><%= link_to page.title, page_uri %></li>

0 comments on commit bd610e2

Please sign in to comment.