Sha256: 82f3c8cdf3a78c3a1ca98e5336e4bb9b1123ef06a50e9221684ba5a4b194f17f
Contents?: true
Size: 559 Bytes
Versions: 57
Compression:
Stored size: 559 Bytes
Contents
module Cmor module UserArea module Backend module Generators class InstallGenerator < Rails::Generators::Base desc 'Generates the intializer' source_root File.expand_path('../templates', __FILE__) def generate_intializer copy_file 'initializer.rb', 'config/initializers/cmor_user_area_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
57 entries across 57 versions & 1 rubygems