Sha256: 5c175c16c844a60cdffef73a0f9c0e1446da0d046d2fe95e36617165f4a5e3b0
Contents?: true
Size: 318 Bytes
Versions: 1
Compression:
Stored size: 318 Bytes
Contents
module Generators class LeadControllerGenerator < Rails::Generators::NamedBase def create_controller_files create_file "#{Rails.root}/controllers/#{file_name}_controller.rb", <<~RUBY class #{file_name.capitalize}Controller < ApplicationController end RUBY end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
lead_management-0.1.5 | lib/generators/lead_controller_generator.rb |