Class: BcmsCas::InstallGenerator

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

Instance Method Summary collapse

Instance Method Details

#add_seedsObject



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_templateObject



12
13
14
# File 'lib/generators/bcms_cas/install/install_generator.rb', line 12

def 
  template "render.html.erb", "app/views/portlets/login/render.html.erb"
end