Sha256: 5a64ec1a6f350a519df01b400a0f8ff5efb54c5ef26e7d88bda279da3714a153
Contents?: true
Size: 291 Bytes
Versions: 1
Compression:
Stored size: 291 Bytes
Contents
class Generators::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
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
lead_management-0.1.7 | lib/generators/lead_controller_generator.rb |