Sha256: 124f702b023a2e9757745c3ee4a35eab6e077950dd177f928838974c37300665
Contents?: true
Size: 551 Bytes
Versions: 55
Compression:
Stored size: 551 Bytes
Contents
module Cmor module Cms module Backend module Generators class InstallGenerator < Rails::Generators::Base desc 'Generates the initializer' source_root File.expand_path('../templates', __FILE__) def generate_initializer copy_file 'initializer.rb', 'config/initializers/cmor_cms_backend.rb' end def generate_routes route File.read(File.join(File.expand_path('../templates', __FILE__), 'routes.source')) end end end end end end
Version data entries
55 entries across 55 versions & 1 rubygems