tsechingho / ckeditor-rails

Integrate CKEditor javascript library with Rails asset pipeline
https://github.com/tsechingho/ckeditor-rails
MIT License
213 stars 132 forks source link

This gem ignores asset host #19

Closed Aroton closed 11 years ago

Aroton commented 11 years ago

Hey,

This gem ignores any asset host set.

One possible fix would be to add

base_path << ActionController::Base.asset_host

to basepath.js.erb

Aroton commented 11 years ago

It also needs a nilcheck

tsechingho commented 11 years ago

please see #15 for the reason, or do you have any good idea?

also see Work-with-asset-host

Aroton commented 11 years ago

Ah, nope, that's the same solution I came up with. Easy enough to over ride too.