Skip to content

Commit

Permalink
Trying to resolve issu tsechingho#46
Browse files Browse the repository at this point in the history
  • Loading branch information
camilalm committed Nov 21, 2014
1 parent 96c935a commit f655438
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions lib/assets/javascripts/ckeditor/basepath.js.erb
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<%
base_path = ''
base_path << Rails.application.config.assets.prefix
base_path << '/ckeditor/'
base_path = Rails.application.config.assets.prefix + '/ckeditor/'
base_path = Rails.application.config.action_controller.relative_url_root + base_path if Rails.application.config.action_controller.relative_url_root
%>
var CKEDITOR_BASEPATH = '<%= base_path %>';

var CKEDITOR_BASEPATH = "<%= base_path %>";

0 comments on commit f655438

Please sign in to comment.