app/controllers/hyrax/monographs_controller.rb
# frozen_string_literal: true
# Generated via
# `rails generate hyrax:work_resource Monograph`
module Hyrax
# Generated controller for Monograph
class MonographsController < ApplicationController
# Adds Hyrax behaviors to the controller.
include Hyrax::WorksControllerBehavior
include Hyrax::BreadcrumbsForWorks
self.curation_concern_type = ::Monograph
# Use a Valkyrie aware form service to generate Valkyrie::ChangeSet style
# forms.
self.work_form_service = Hyrax::FormFactory.new
end
end