lib/locomotive/steam/middlewares/wysihtml_css.rb in locomotivecms-3.2.1 vs lib/locomotive/steam/middlewares/wysihtml_css.rb in locomotivecms-3.3.0.rc1

- old
+ new

@@ -10,10 +10,10 @@ def call(env) status, headers, response = @app.call(env) if content?(env['steam.page'], response) - url = ::ActionController::Base.helpers.stylesheet_url('locomotive/wysihtml5_editor') + url = ::ActionController::Base.helpers.stylesheet_path('locomotive/wysihtml5_editor') html = %(<link rel="stylesheet" type="text/css" href="#{url}">) response.first.gsub!('</head>', %(#{html}</head>)) end [status, headers, response]