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