fixed js-assets-base-path when not using the asset pipeline (removed public/)

ben committed Jul 21, 2011
commit 6a4b45a5084a1c2fdbd52ba89e52105df7105f46
Showing 1 changed file with 2 additions and 2 deletions
app/views/layouts/cms_admin/_head.html.erb +2 -2
@@ @@ -5,7 +5,7 @@
<meta name="cms-admin-path" content="<%= ComfortableMexicanSofa.config.admin_route_prefix %>" />
<meta name="cms-locale" content="<%= I18n.locale %>" />
- <meta name="cms-js-assets-base-path" content="<%= ComfortableMexicanSofa.asset_pipeline_enabled?? '/assets' : '/public/javascripts' %>/comfortable_mexican_sofa"/>
+ <meta name="cms-js-assets-base-path" content="<%= ComfortableMexicanSofa.asset_pipeline_enabled?? '/assets' : '/javascripts' %>/comfortable_mexican_sofa"/>
<% if ComfortableMexicanSofa.asset_pipeline_enabled? %>
@@ @@ -40,4 +40,4 @@
<%= yield :head %>
<%= cms_hook :html_head %>
- </head>
\ No newline at end of file
+ </head>