Sha256: 03007630fcc91c6cea6f6ca5021199b2f1fee9f1325eaaf5ab841373416da4c6

Contents?: true

Size: 366 Bytes

Versions: 2

Compression:

Stored size: 366 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>
var CKEDITOR_BASEPATH = '<%= base_path %>';
console.log(CKEDITOR_BASEPATH)
</script>

Version data entries

2 entries across 2 versions & 1 rubygems

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