emory-libraries/dlp-selfdeposit

View on GitHub
app/controllers/hyrax/monographs_controller.rb

Summary

Maintainability
A
0 mins
Test Coverage
F
0%
# 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