app/services/versioning_service.rb
# Record the version committer of the last version
# @param [ActiveFedora::File] content
# @param [User, String] user_key
Record the version committer of the last version
Record the version committer of the last version
def record_committer(content, user_key)
        user_key = user_key.user_key if user_key.respond_to?(:user_key)
        version = latest_version_of(content)
        return if version.nil?
        VersionCommitter.create(version_id: version.uri, committer_login: user_key)
      end
def record_committer ( content , user_key ) user_key = user_key . user_key if user_key . respond_to? ( :user_key ) version = latest_version_of ( content ) return if version . nil? VersionCommitter . create ( version_id : version . uri , committer_login : user_key ) end
Record the version committer of the last version
Record the version committer of the last version
content
<not_specific>
user_key
<not_specific>
<not_specific>
None