The install generator will automatically do these two changes to your files:
- The following line will be added as the first line of
app/assets/stylesheets/active_admin.scss
:
//= require activeadmin_addons/all
- If your activeadmin installation uses an
app/assets/javascripts/active_admin.js.coffee
file, the following line will be added after#= require active_admin/base
:
#= require activeadmin_addons/all
- If your activeadmin installation uses an
app/assets/javascripts/active_admin.js
file, the following line will be added after//= require active_admin/base
:
//= require activeadmin_addons/all
To undo, you can use
$ rails d activeadmin_addons:install
- An initializer will be added. From there, you can change the Addons' default config.