Sha256: 58f174c764326ef7490d5b874661526763f33b7a86915cb4a432139476cf6489
Contents?: true
Size: 562 Bytes
Versions: 56
Compression:
Stored size: 562 Bytes
Contents
module Cmor module Carousels module Backend module Generators class InstallGenerator < Rails::Generators::Base desc 'Generates the initializer' source_root File.expand_path('../templates', __FILE__) def generate_initializer template 'initializer.rb', 'config/initializers/cmor_carousels_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
56 entries across 56 versions & 1 rubygems