Sha256: 4978bce2f00ad55e2654aed44a4986167290036dac2cbf9a7a8687392bd58ef0
Contents?: true
Size: 465 Bytes
Versions: 13
Compression:
Stored size: 465 Bytes
Contents
require 'rails/generators' module CurationConcerns class AdminDashboardGenerator < Rails::Generators::Base source_root File.expand_path('../templates', __FILE__) desc 'This generator makes the following changes to your application: 1. Creates an admin dashboard controller. ' def create_controller copy_file 'app/controllers/curation_concerns/admin_controller.rb', 'app/controllers/curation_concerns/admin_controller.rb' end end end
Version data entries
13 entries across 13 versions & 1 rubygems