Sha256: 50a145bb3e5adce109a2e38ebb7e696db0e8eb5160a5c1a55d958d48b2afb842
Contents?: true
Size: 537 Bytes
Versions: 10
Compression:
Stored size: 537 Bytes
Contents
# frozen_string_literal: true # Generated via # `rails generate hyrax:work_resource GenericWork` module Hyrax # Generated controller for GenericWork class GenericWorksController < ApplicationController # Adds Hyrax behaviors to the controller. include Hyrax::WorksControllerBehavior include Hyrax::BreadcrumbsForWorks self.curation_concern_type = ::GenericWork # Use a Valkyrie aware form service to generate Valkyrie::ChangeSet style # forms. self.work_form_service = Hyrax::FormFactory.new end end
Version data entries
10 entries across 10 versions & 1 rubygems