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



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

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