Sha256: 0347b3dc25ca92ca2983df8067ef4e5fd6d6baad047d12d1e6eea8235c3148e1

Contents?: true

Size: 321 Bytes

Versions: 10

Compression:

Stored size: 321 Bytes

Contents

module Hyrax
  class AuditsController < ApplicationController
    before_action :authenticate_user!

    def create
      render json: audit_service.audit
    end

    protected

      def audit_service
        file_set = ::FileSet.find(params[:file_set_id])
        FileSetAuditService.new(file_set)
      end
  end
end

Version data entries

10 entries across 10 versions & 2 rubygems

Version Path
hyrax-1.1.1 app/controllers/hyrax/audits_controller.rb
hyrax-1.1.0 app/controllers/hyrax/audits_controller.rb
hyrax-1.0.5 app/controllers/hyrax/audits_controller.rb
hyrax-1.0.4 app/controllers/hyrax/audits_controller.rb
hyrax-1.0.3 app/controllers/hyrax/audits_controller.rb
hyrax-1.0.2 app/controllers/hyrax/audits_controller.rb
hyrax-1.0.1 app/controllers/hyrax/audits_controller.rb
hyrax-1.0.0.rc2 app/controllers/hyrax/audits_controller.rb
hyrax-1.0.0.rc1 app/controllers/hyrax/audits_controller.rb
test_hyrax-0.0.1.alpha app/controllers/hyrax/audits_controller.rb