Class: BcmsFckeditor::InstallGenerator

Inherits:
Cms::ModuleInstallation
  • Object
show all
Defined in:
lib/generators/bcms_fckeditor/install/install_generator.rb

Instance Method Summary collapse

Instance Method Details

#copy_public_filesObject

add_migrations_directory_to_source_root __FILE__ Add migrations to be copied, by uncommenting the following file and editing as needed. copy_migration_file ‘DATESTAMP_create_name_of_content_block.rb’



13
14
15
16
# File 'lib/generators/bcms_fckeditor/install/install_generator.rb', line 13

def copy_public_files
  # Copy the default 'styles' file into the project, so developers can override
  copy_file 'fckstyles.xml', 'public/bcms_config/fckeditor/fckstyles.xml'
end