spohlenz/tinymce-rails — comment on commit bb9bfb299ae2615bd6eae6628f1a6a11b86a1688
File:  line 0
By r-stu31:

This does not seem to work for cases where asset_host includes '%d' or where asset_host is a Proc or returns the host string upon '.call'. Instead of (as in current version):
``` [::Rails.application.config.action_controller.asset_host, ActionController::Base.config.relative_url_root,
::Rails.application.config.assets.prefix, '/tinymce'].compact.join
```
there should just be something like: `asset_path('tinymce')`, which handles automatically and correctly all the issues with asset_host, relative_url_root etc.