You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Right now I am only able to load javascripts from /public. I am unable to load from vendor/assets or from the CDN at : http://cdn.sencha.io/ext-4.1.0-gpl/
I used an initializer as follows:
Netzke::Core.setup do |config|
config.ext_uri = 'assets'
end
Netzke::Core.setup do |config|
config.ext_uri = 'http://cdn.sencha.io/ext-4.1.0-gpl'
end
I think the best way is to support
config.action_controller.asset_host
_uri if present would override using the asset_host based link tags.
Otherwise we should specify a prefix (with a default of 'assets') so that files can be put in /vendor/assets as Rails guides recommends. Using public is deprecated with the Rails asset pipeline.
The text was updated successfully, but these errors were encountered:
Right now I am only able to load javascripts from /public. I am unable to load from vendor/assets or from the CDN at : http://cdn.sencha.io/ext-4.1.0-gpl/
I used an initializer as follows:
using 'assets' as a prefix causes a linktag of:
http://localhost:3000/assets/assets/ext-all-debug.js
expecting it to be:
http://localhost:3000/assets/ext-all-debug.js
Using the CDN gives the following, no .js because it does not find the JS file:
http://cdn.sencha.io/ext-4.1.0-gpl/ext-all-debug
(should be http://cdn.sencha.io/ext-4.1.0-gpl/ext-all-debug.js)
I think the best way is to support
config.action_controller.asset_host
_uri if present would override using the asset_host based link tags.
Otherwise we should specify a prefix (with a default of 'assets') so that files can be put in /vendor/assets as Rails guides recommends. Using public is deprecated with the Rails asset pipeline.
The text was updated successfully, but these errors were encountered: