Sha256: af4d474d28503d41813f0b9a69cadab3231f1e83ff51d35754c962867e8049f8
Contents?: true
Size: 618 Bytes
Versions: 7
Compression:
Stored size: 618 Bytes
Contents
module Boilerman module Generators class InstallGenerator < Rails::Generators::Base desc "creates a mount point for the engine in the routes file at /boilerman" source_root File.expand_path('../../../..', __FILE__) # This would copy a configuration file over if I ever needed it #def generate_initialization #copy_file 'config/initializers/boilerman.rb', 'config/initializers/boilerman.rb' #end def generate_routing route "mount Boilerman::Engine, at: 'boilerman'" log "# You can access the Boilerman URL at '/boilerman'" end end end end
Version data entries
7 entries across 7 versions & 1 rubygems