Sha256: a30e3611d07250fed02a80ccb1465abd7322c3d422affb48de03eaa03321a36f

Contents?: true

Size: 454 Bytes

Versions: 1

Compression:

Stored size: 454 Bytes

Contents

require 'rails/generators'

module Hyrax
  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

1 entries across 1 versions & 1 rubygems

Version Path
test_hyrax-0.0.1.alpha lib/generators/hyrax/admin_dashboard_generator.rb