app/controllers/hyrax/masters_papers_controller.rb
# frozen_string_literal: true
# Generated via
# `rails generate hyrax:work MastersPaper`
module Hyrax
class MastersPapersController < HycController
self.curation_concern_type = ::MastersPaper
# Use this line if you want to use a custom presenter
self.show_presenter = Hyrax::MastersPaperPresenter
before_action :ensure_admin!, only: :destroy
before_action :ensure_admin_set!, only: [:create, :new, :edit, :update]
end
end