Sha256: 96cc2322235ee52bd15a7233b21e703e7c5887d5a03a71977b67a4fc44230b70
Contents?: true
Size: 613 Bytes
Versions: 10
Compression:
Stored size: 613 Bytes
Contents
class Cms::Fortress::UpgradeGenerator < Rails::Generators::Base source_root File.expand_path('../../../../../..', __FILE__) def generate_migrations rake("cms_fortress_engine:install:migrations") end def copy_files log 'Copying files...' files = [ 'config/cms/fortress/global_settings.yml' ] files.each do |file| copy_file file, file end end def done puts "\r\n\r\n!!! IMPORTANT NOTE: Review your existing users since they set to super users as default. Review and assign site roles accordingly." puts "Upgrade complete..." puts "\r\n\r\n" end end
Version data entries
10 entries across 10 versions & 1 rubygems