Sha256: 06e840a8d379ce87de12675d51280444908b36444ab55b26fc46924a576a8ddc
Contents?: true
Size: 565 Bytes
Versions: 51
Compression:
Stored size: 565 Bytes
Contents
module Cmor module Core module Backend module Generators class InstallGenerator < Rails::Generators::Base desc 'Installs the initializer and backend controller' source_root File.expand_path('../templates', __FILE__) def generate_controller copy_file 'backend_controller.rb', 'app/controllers/backend_controller.rb' end def generate_initializer template 'initializer.rb', 'config/initializers/cmor_core_backend.rb' end end end end end end
Version data entries
51 entries across 51 versions & 1 rubygems