Sha256: 72276cd44a226d468b9995cf7481466d7c2e58912a8990a7b30b56fe75640589
Contents?: true
Size: 402 Bytes
Versions: 2
Compression:
Stored size: 402 Bytes
Contents
module Cas class InstallGenerator < Rails::Generators::Base source_root File.expand_path("templates", __dir__) def copy_initializer_file rake("db:migrate") copy_file "cas.config.yml", Cas::CONFIG_PATH route 'mount Cas::Engine, at: "/admin"' puts "" puts "Config generated. Now edit `#{Cas::CONFIG_PATH}` and run `bin/rails cas:apply_config`" end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
cas-cms-1.0.0.alpha2 | lib/generators/cas/install_generator.rb |
cas-cms-1.0.0.alpha1 | lib/generators/cas/install_generator.rb |