Class: BcmsCas::InstallGenerator
- Inherits:
-
Cms::ModuleInstallation
- Object
- Cms::ModuleInstallation
- BcmsCas::InstallGenerator
- Defined in:
- lib/generators/bcms_cas/install/install_generator.rb
Instance Method Summary collapse
Instance Method Details
#add_seeds ⇒ Object
6 7 8 9 10 |
# File 'lib/generators/bcms_cas/install/install_generator.rb', line 6 def add_seeds template "bcms_cas.seeds.rb", "db/bcms_cas.seeds.rb" append_file "db/seeds.rb", "\nrequire File.expand_path('../bcms_cas.seeds.rb', __FILE__)\n" end |
#override_login_form_template ⇒ Object
12 13 14 |
# File 'lib/generators/bcms_cas/install/install_generator.rb', line 12 def override_login_form_template template "render.html.erb", "app/views/portlets/login/render.html.erb" end |