Class: ActiveAdmin::Generators::AssetsGenerator

Inherits:
Rails::Generators::Base
  • Object
show all
Defined in:
lib/generators/active_admin/assets/assets_generator.rb

Instance Method Summary collapse

Instance Method Details

#install_assetsObject


7
8
9
10
# File 'lib/generators/active_admin/assets/assets_generator.rb', line 7

def install_assets
  template 'active_admin.js.coffee', 'app/assets/javascripts/active_admin.js.coffee'
  template "active_admin.scss", "app/assets/stylesheets/active_admin.scss"
end