Sha256: be5a820eb4b4dbed4d100eea032ec08156cd70a0d1a196160aafeb04220580a2
Contents?: true
Size: 481 Bytes
Versions: 2
Compression:
Stored size: 481 Bytes
Contents
require 'rails/generators' module HydraBatchEdit # Installs hydra-batch-edit into the host application class InstallGenerator < Rails::Generators::Base source_root File.expand_path('../templates', __FILE__) def add_routes route "Hydra::BatchEdit.add_routes(self)" end def inject_assets copy_file "batch_edit.scss", "app/assets/stylesheets/batch_edit.scss" copy_file "batch_edit.js", "app/assets/javascripts/batch_edit.js" end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
hydra-batch-edit-2.1.0 | lib/generators/hydra_batch_edit/install_generator.rb |
hydra-batch-edit-2.0.2 | lib/generators/hydra_batch_edit/install_generator.rb |