Skip to content
This repository has been archived by the owner on Dec 15, 2022. It is now read-only.

Latest commit

 

History

History
29 lines (20 loc) · 853 Bytes

install_generator.md

File metadata and controls

29 lines (20 loc) · 853 Bytes

The install generator will automatically do these two changes to your files:

  1. The following line will be added as the first line of app/assets/stylesheets/active_admin.scss:
@import 'activeadmin_addons/all'
  1. 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
  1. 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
  1. An initializer will be added. From there, you can change the Addons' default config.