Sha256: 179c01a82fddf68f187ecbb802c8a94e129240727be46ca85c0ce58069d5d6af
Contents?: true
Size: 452 Bytes
Versions: 10
Compression:
Stored size: 452 Bytes
Contents
require 'rails/generators/base' module CsvImportMagic module Generators class ControllersGenerator < Rails::Generators::Base desc 'Copies CSV Import Magic base controller to your application.' source_root File.expand_path('../../../../app/controllers/csv_import_magic', __FILE__) def copy_base_controller template 'base_controller.rb', 'app/controllers/csv_import_magic/base_controller.rb' end end end end
Version data entries
10 entries across 10 versions & 1 rubygems