Can ActiveAdmin serve individual javascript files in development via Rails asset pipeline? -
i've configured activeadmin include own javascript, following these instructions active admin: including javascript. in initializers/active_admin.rb
:
config.register_javascript 'application.js.coffee'
but 1 massive precompiled application.js
served me (application.js.coffee require
s many small files); in development mode when visit active admin pages. still want individual javascript files served individually easier debugging. there way this?
put in development.rb
:
config.assets.debug = false
Comments
Post a Comment