lib/assets/javascripts/ckeditor/basepath.js.erb in ckeditor_rails-4.0.1.1 vs lib/assets/javascripts/ckeditor/basepath.js.erb in ckeditor_rails-4.0.2
- old
+ new
@@ -1,5 +1,10 @@
-var CKEDITOR_BASEPATH = '<%= Rails.application.config.assets.prefix + "/ckeditor/" %>';
+<%
+base_path = ''
+base_path << Rails.application.config.assets.prefix
+base_path << '/ckeditor/'
+%>
+var CKEDITOR_BASEPATH = '<%= base_path %>';