Sha256: 692a6f016d24e76ccf337480df2223c570799b14a2d2bff95e9e73b418facd87

Contents?: true

Size: 376 Bytes

Versions: 1

Compression:

Stored size: 376 Bytes

Contents

<%-
base_path = ''
base_path << if ENV['RAILS_URL'].blank? || ENV['RAILS_RELATIVE_URL_ROOT'].blank?
  "http://localhost:3000"
else
  "#{ENV['RAILS_URL']}#{ENV['RAILS_RELATIVE_URL_ROOT']}"
end
base_path << Rails.application.config.assets.prefix
base_path << '/ckeditor/'
%>
<script>
window.CKEDITOR_BASEPATH = '<%= base_path %>';
console.log(window.CKEDITOR_BASEPATH)
</script>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
rails_admin_ui_layout_taris-1.2.17 app/views/layouts/rails_admin/_ckeditor_base_path.html.erb