Sha256: c6078beec1e9550a8a8c6d90d55c661467385b738d558700f3ab3e2c02af4637

Contents?: true

Size: 660 Bytes

Versions: 9

Compression:

Stored size: 660 Bytes

Contents

############################################
############################################

# BASEPATH
# This caused massive issues with the config.assets.prefix setting
# https://github.com/galetahub/ckeditor#include-customized-ckeditor_basepath-setting

############################################
############################################

<%
  base_path = ''
  base_path << "/#{Rails.root.basename.to_s}/" if ENV['PROJECT'] =~ /editor/i
  base_path << Rails.application.config.assets.prefix
  base_path << '/ckeditor/'
%>

CKEDITOR_BASEPATH = '<%= base_path %>'

############################################
############################################

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
fl-0.3.9 app/assets/javascripts/ckeditor/basepath.coffee.erb
fl-0.3.8 app/assets/javascripts/ckeditor/basepath.coffee.erb
fl-0.3.6 app/assets/javascripts/ckeditor/basepath.coffee.erb
fl-0.3.5 app/assets/javascripts/ckeditor/basepath.coffee.erb
fl-0.3.4 app/assets/javascripts/ckeditor/basepath.coffee.erb
fl-0.3.3 app/assets/javascripts/ckeditor/basepath.coffee.erb
fl-0.3.2 app/assets/javascripts/ckeditor/basepath.coffee.erb
fl-0.3.1 app/assets/javascripts/ckeditor/basepath.coffee.erb
fl-0.3.0 app/assets/javascripts/ckeditor/basepath.coffee.erb