Sha256: c62cd9eddff110e4d275fa012952ba20388b4c6d71b7da7d202a7bfec2fbfe2e
Contents?: true
Size: 492 Bytes
Versions: 6
Compression:
Stored size: 492 Bytes
Contents
module FcrepoAdmin class AuditTrailController < ApplicationController include FcrepoAdmin::ControllerBehavior before_filter :load_and_authz_object def index # XXX Update when new version of ActiveFedora released @audit_trail = @object.respond_to?(:audit_trail) ? @object.audit_trail : @object.inner_object.audit_trail if params[:download] send_data @audit_trail.to_xml, :disposition => 'inline', :type => 'text/xml' end end end end
Version data entries
6 entries across 6 versions & 1 rubygems