Class: CurationConcerns::AdminDashboardGenerator

Inherits:
Rails::Generators::Base
  • Object
show all
Defined in:
lib/generators/curation_concerns/admin_dashboard_generator.rb

Instance Method Summary collapse

Instance Method Details

#create_controllerObject



11
12
13
# File 'lib/generators/curation_concerns/admin_dashboard_generator.rb', line 11

def create_controller
  copy_file 'app/controllers/curation_concerns/admin_controller.rb', 'app/controllers/curation_concerns/admin_controller.rb'
end