Class: BcmsWebdav::InstallGenerator

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

Instance Method Summary collapse

Instance Method Details

#add_routesObject

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