Class: Bricks::ActiveAdminExtras
- Defined in:
- lib/active_admin/generator/bricks/active_admin_extras.rb
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
Methods inherited from Base
#apply?, #ask, #choose, #commit_all, #format, #initialize, #say, #template, #title, #yes?
Constructor Details
This class inherits a constructor from Bricks::Base
Instance Method Details
#after_bundle ⇒ Object
17 18 19 20 21 22 23 24 25 26 |
# File 'lib/active_admin/generator/bricks/active_admin_extras.rb', line 17 def after_bundle rake "activeadmin_gallery:install:migrations" rake "activeadmin_wysihtml5:install:migrations" rake "activeadmin_seo:install:migrations" remove_file "app/assets/stylesheets/active_admin.css.scss" copy_file "app/assets/stylesheets/active_admin.css.sass" commit_all "Run ActiveAdmin customizations" end |
#before_bundle ⇒ Object
4 5 6 7 8 9 10 11 12 13 14 15 |
# File 'lib/active_admin/generator/bricks/active_admin_extras.rb', line 4 def before_bundle gem 'activeadmin-dragonfly', github: 'stefanoverna/activeadmin-dragonfly', branch: 'master' gem 'activeadmin-globalize3', github: 'stefanoverna/activeadmin-globalize3', branch: 'master' gem 'activeadmin-wysihtml5', github: 'stefanoverna/activeadmin-wysihtml5', branch: 'master' gem 'activeadmin-gallery', github: 'stefanoverna/activeadmin-gallery', branch: 'master' gem 'activeadmin-extra', github: 'stefanoverna/activeadmin-extra', branch: 'master' gem 'activeadmin-seo', github: 'nebirhos/activeadmin-seo', branch: 'master' gem 'activeadmin-sortable-tree', github: 'nebirhos/activeadmin-sortable-tree', branch: 'master' inject_into_file "config/application.rb", " config.i18n.available_locales = [ :en ]\n", after: "config.i18n.default_locale = :en\n" commit_all "Added ActiveAdmin extra gems" end |