Class: TranslationPanel::InstallGenerator

Inherits:
Rails::Generators::Base
  • Object
show all
Defined in:
lib/generators/translation_panel/install_generator.rb

Instance Method Summary collapse

Instance Method Details

#copy_asset_filesObject



6
7
8
9
10
11
# File 'lib/generators/translation_panel/install_generator.rb', line 6

def copy_asset_files
  copy_file "javascripts/translation_panel.js.coffee",
            "vendor/assets/javascripts/translation_panel.js.coffee"
  copy_file "stylesheets/translation_panel.css.scss",
            "vendor/assets/stylesheets/translation_panel.css.scss"
end