Skip to content
This repository was archived by the owner on Mar 23, 2024. It is now read-only.

Conversation

bolshakov
Copy link

It generates right url for JS files loaded via require.js, but it generates url without prefix for require.js itself and main script.

For example when Rails.application.config.relative_url_root set to /sub-path and you call requirejs_include_tag 'application' from a view, it tries to lead /assets/application.js instead of /sub-path/assets/application.js

…ls.application.config.relative_url_root` set
@bolshakov bolshakov force-pushed the feature/work-with-relative-url-path branch from 9679ab2 to 91a9635 Compare March 15, 2018 11:35
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant