Class: Bricks::CleanAssets
- Defined in:
- lib/active_admin/generator/bricks/clean_assets.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
#before_bundle ⇒ Object
3 4 5 6 7 8 |
# File 'lib/active_admin/generator/bricks/clean_assets.rb', line 3 def before_bundle remove_file 'public/index.html' remove_file 'app/assets/images/rails.png' commit_all "Removed Rails default assets" end |