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

Version Path
curation_concerns-1.7.8 lib/generators/curation_concerns/admin_dashboard_generator.rb
curation_concerns-1.7.7 lib/generators/curation_concerns/admin_dashboard_generator.rb
curation_concerns-2.0.0 lib/generators/curation_concerns/admin_dashboard_generator.rb
curation_concerns-2.0.0.rc2 lib/generators/curation_concerns/admin_dashboard_generator.rb
curation_concerns-1.7.6 lib/generators/curation_concerns/admin_dashboard_generator.rb
curation_concerns-1.7.5 lib/generators/curation_concerns/admin_dashboard_generator.rb
curation_concerns-1.7.4 lib/generators/curation_concerns/admin_dashboard_generator.rb
curation_concerns-1.7.3 lib/generators/curation_concerns/admin_dashboard_generator.rb
curation_concerns-1.7.2 lib/generators/curation_concerns/admin_dashboard_generator.rb
curation_concerns-2.0.0.rc1 lib/generators/curation_concerns/admin_dashboard_generator.rb
curation_concerns-1.7.1 lib/generators/curation_concerns/admin_dashboard_generator.rb
curation_concerns-1.7.0 lib/generators/curation_concerns/admin_dashboard_generator.rb
curation_concerns-1.7.0.beta1 lib/generators/curation_concerns/admin_dashboard_generator.rb