Sha256: c9f82775639beb84a9c650675b6fb4c45d0c3f79062770f28014757956e0d644

Contents?: true

Size: 570 Bytes

Versions: 24

Compression:

Stored size: 570 Bytes

Contents

# frozen_string_literal: true

# Generated via
#  `rails generate hyrax:work_resource <%= 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 a Valkyrie aware form service to generate Valkyrie::ChangeSet style
    # forms.
    self.work_form_service = Hyrax::FormFactory.new
  end
end

Version data entries

24 entries across 24 versions & 1 rubygems

Version Path
hyrax-5.0.1 lib/generators/hyrax/work_resource/templates/controller.rb.erb
hyrax-5.0.0 lib/generators/hyrax/work_resource/templates/controller.rb.erb
hyrax-5.0.0.rc3 lib/generators/hyrax/work_resource/templates/controller.rb.erb
hyrax-5.0.0.rc2 lib/generators/hyrax/work_resource/templates/controller.rb.erb
hyrax-5.0.0.rc1 lib/generators/hyrax/work_resource/templates/controller.rb.erb
hyrax-3.6.0 lib/generators/hyrax/work_resource/templates/controller.rb.erb
hyrax-4.0.0 lib/generators/hyrax/work_resource/templates/controller.rb.erb
hyrax-4.0.0.rc3 lib/generators/hyrax/work_resource/templates/controller.rb.erb
hyrax-4.0.0.rc2 lib/generators/hyrax/work_resource/templates/controller.rb.erb
hyrax-4.0.0.rc1 lib/generators/hyrax/work_resource/templates/controller.rb.erb
hyrax-3.5.0 lib/generators/hyrax/work_resource/templates/controller.rb.erb
hyrax-4.0.0.beta2 lib/generators/hyrax/work_resource/templates/controller.rb.erb
hyrax-3.4.2 lib/generators/hyrax/work_resource/templates/controller.rb.erb
hyrax-4.0.0.beta1 lib/generators/hyrax/work_resource/templates/controller.rb.erb
hyrax-3.4.1 lib/generators/hyrax/work_resource/templates/controller.rb.erb
hyrax-3.4.0 lib/generators/hyrax/work_resource/templates/controller.rb.erb
hyrax-3.3.0 lib/generators/hyrax/work_resource/templates/controller.rb.erb
hyrax-3.2.0 lib/generators/hyrax/work_resource/templates/controller.rb.erb
hyrax-3.1.0 lib/generators/hyrax/work_resource/templates/controller.rb.erb
hyrax-3.0.2 lib/generators/hyrax/work_resource/templates/controller.rb.erb