Sha256: bdbeea5d846098633966b107e32156c6b4ac1e0326a4b4a17fc7f68d3e5b5646

Contents?: true

Size: 404 Bytes

Versions: 8

Compression:

Stored size: 404 Bytes

Contents

require 'rails/generators'

module Spotlight
  module Dor
    module Resources
      # :nodoc:
      class InstallGenerator < Rails::Generators::Base
        desc 'This generator mounts the Spotlight::Dor::Resources engine'

        def inject_spotlight_dor_resources_routes
          route "mount Spotlight::Dor::Resources::Engine, at: 'spotlight_dor_resources'"
        end
      end
    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
spotlight-dor-resources-2.0.1 lib/generators/spotlight/dor/resources/install_generator.rb
spotlight-dor-resources-2.0.0 lib/generators/spotlight/dor/resources/install_generator.rb
spotlight-dor-resources-1.1.0 lib/generators/spotlight/dor/resources/install_generator.rb
spotlight-dor-resources-1.0.1 lib/generators/spotlight/dor/resources/install_generator.rb
spotlight-dor-resources-1.0.0 lib/generators/spotlight/dor/resources/install_generator.rb
spotlight-dor-resources-0.6.2 lib/generators/spotlight/dor/resources/install_generator.rb
spotlight-dor-resources-0.6.1 lib/generators/spotlight/dor/resources/install_generator.rb
spotlight-dor-resources-0.6.0 lib/generators/spotlight/dor/resources/install_generator.rb