Sha256: 679688f541d63442e217b60e99ef2e802b7f9da66436af1adf9e7421ad6c2334
Contents?: true
Size: 728 Bytes
Versions: 1
Compression:
Stored size: 728 Bytes
Contents
require 'cms/module_installation' class BcmsKcfinder::InstallGenerator < Cms::ModuleInstallation add_migrations_directory_to_source_root __FILE__ # This module has no migrations, seed or routes as of now, so this install file is simple. # Keep these commented out for now in case they get added later #def copy_migrations # rake 'bcms_kcfinder:install:migrations' #end # Uncomment to add module specific seed data to a project. #def add_seed_data_to_project # copy_file "../bcms_kcfinder.seeds.rb", "db/bcms_kcfinder.seeds.rb" # append_to_file "db/seeds.rb", "load File.expand_path('../bcms_kcfinder.seeds.rb', __FILE__)\n" #end #def add_routes # mount_engine(BcmsKcfinder) #end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
bcms_kcfinder-1.0.0 | lib/generators/bcms_kcfinder/install/install_generator.rb |