Class: BcmsWebdav::InstallGenerator
- Inherits:
-
Cms::ModuleInstallation
- Object
- Cms::ModuleInstallation
- BcmsWebdav::InstallGenerator
- Defined in:
- lib/generators/bcms_webdav/install/install_generator.rb
Instance Method Summary collapse
-
#add_routes ⇒ Object
Uncomment to add module specific seed data to a project.
Instance Method Details
#add_routes ⇒ Object
Uncomment to add module specific seed data to a project. def add_seed_data_to_project
copy_file "../bcms_webdav.seeds.rb", "db/bcms_webdav.seeds.rb"
append_to_file "db/seeds.rb", "load File.expand_path('../bcms_webdav.seeds.rb', __FILE__)\n"
end
16 17 18 |
# File 'lib/generators/bcms_webdav/install/install_generator.rb', line 16 def add_routes mount_engine(BcmsWebdav) end |