Sha256: e03a7201dff1d571573e8a70b052985192a2820eb1791c6b05324aa59fbebf64

Contents?: true

Size: 340 Bytes

Versions: 8

Compression:

Stored size: 340 Bytes

Contents

# Generated via
#  `rails generate hyrax:work <%= class_name %>`

module Hyrax
  class <%= class_name.pluralize %>Controller < ApplicationController
    # Adds Hyrax behaviors to the controller.
    include Hyrax::WorksControllerBehavior
    include Hyrax::BreadcrumbsForWorks
    self.curation_concern_type = ::<%= class_name %>
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
hyrax-1.1.1 lib/generators/hyrax/work/templates/controller.rb.erb
hyrax-1.1.0 lib/generators/hyrax/work/templates/controller.rb.erb
hyrax-1.0.5 lib/generators/hyrax/work/templates/controller.rb.erb
hyrax-1.0.4 lib/generators/hyrax/work/templates/controller.rb.erb
hyrax-1.0.3 lib/generators/hyrax/work/templates/controller.rb.erb
hyrax-1.0.2 lib/generators/hyrax/work/templates/controller.rb.erb
hyrax-1.0.1 lib/generators/hyrax/work/templates/controller.rb.erb
hyrax-1.0.0.rc2 lib/generators/hyrax/work/templates/controller.rb.erb