Skip to content

Commit

Permalink
Suppressing newlines on non output code blocks.
Browse files Browse the repository at this point in the history
  • Loading branch information
parndt authored and radar committed Feb 2, 2012
1 parent 38834c4 commit eba41c6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions core/app/assets/javascripts/store/helpers.js.erb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
var Spree = {}
<% path = Rails.application.routes.named_routes[:spree].path %>
<% # Rails 3.2 returns a Journey::Path::Pattern object, Rails 3.1 an actual path. %>
<% path = path.respond_to?(:spec) ? path.spec : path %>
<% path = Rails.application.routes.named_routes[:spree].path -%>
<% # Rails 3.2 returns a Journey::Path::Pattern object, Rails 3.1 an actual path. -%>
<% path = path.respond_to?(:spec) ? path.spec : path -%>
Spree.base_path = <%= path.inspect %>

0 comments on commit eba41c6

Please sign in to comment.