Sha256: b1e57faa48f0a101bd0200eaa37b8020d47766da4fa6acd9a8740418ce1c67dc

Contents?: true

Size: 505 Bytes

Versions: 65

Compression:

Stored size: 505 Bytes

Contents

# Generated via
#  `rails generate hyrax:work <%= class_name %>`
module Hyrax
  # Generated controller for <%= class_name %>
  class <%= class_name.pluralize %>Controller < ApplicationController
    # Adds Hyrax behaviors to the controller.
    include Hyrax::WorksControllerBehavior
    include Hyrax::BreadcrumbsForWorks
    self.curation_concern_type = ::<%= class_name %>

    # Use this line if you want to use a custom presenter
    self.show_presenter = Hyrax::<%= class_name %>Presenter
  end
end

Version data entries

65 entries across 65 versions & 1 rubygems

Version Path
hyrax-5.1.0.pre.beta1 lib/generators/hyrax/work/templates/controller.rb.erb
hyrax-5.0.4 lib/generators/hyrax/work/templates/controller.rb.erb
hyrax-5.0.3 lib/generators/hyrax/work/templates/controller.rb.erb
hyrax-5.0.2 lib/generators/hyrax/work/templates/controller.rb.erb
hyrax-5.0.1 lib/generators/hyrax/work/templates/controller.rb.erb
hyrax-5.0.0 lib/generators/hyrax/work/templates/controller.rb.erb
hyrax-5.0.0.rc3 lib/generators/hyrax/work/templates/controller.rb.erb
hyrax-5.0.0.rc2 lib/generators/hyrax/work/templates/controller.rb.erb
hyrax-5.0.0.rc1 lib/generators/hyrax/work/templates/controller.rb.erb
hyrax-3.6.0 lib/generators/hyrax/work/templates/controller.rb.erb
hyrax-4.0.0 lib/generators/hyrax/work/templates/controller.rb.erb
hyrax-4.0.0.rc3 lib/generators/hyrax/work/templates/controller.rb.erb
hyrax-4.0.0.rc2 lib/generators/hyrax/work/templates/controller.rb.erb
hyrax-4.0.0.rc1 lib/generators/hyrax/work/templates/controller.rb.erb
hyrax-3.5.0 lib/generators/hyrax/work/templates/controller.rb.erb
hyrax-4.0.0.beta2 lib/generators/hyrax/work/templates/controller.rb.erb
hyrax-3.4.2 lib/generators/hyrax/work/templates/controller.rb.erb
hyrax-4.0.0.beta1 lib/generators/hyrax/work/templates/controller.rb.erb
hyrax-3.4.1 lib/generators/hyrax/work/templates/controller.rb.erb
hyrax-3.4.0 lib/generators/hyrax/work/templates/controller.rb.erb