Sha256: 9a5402a66e4060e11cd70456db40949d50398986d332c985178358b0b6d94449
Contents?: true
Size: 328 Bytes
Versions: 11
Compression:
Stored size: 328 Bytes
Contents
require 'rails/generators' module Shoppe class SetupGenerator < Rails::Generators::Base def create_route route 'mount Shoppe::Engine => "/shoppe"' end def create_config_file create_file "config/shoppe.yml", File.read(File.join(Shoppe.root, 'config', 'shoppe.example.yml')) end end end
Version data entries
11 entries across 11 versions & 1 rubygems