Skip to content

Commit

Permalink
Merge branch 'main' into release
Browse files Browse the repository at this point in the history
  • Loading branch information
acoffman committed Jun 6, 2022
2 parents 578117f + 139f744 commit 0b3abd2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions server/app/lib/link_adaptors/revision.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ def display_name
end

def base_path
moderated = obj.moderated
moderated_adaptor = "LinkAdaptors::#{moderated.class}".constantize.new(moderated)
moderated_adaptor.base_path + "/revisions"
subject = obj.subject
subject_adaptor = "LinkAdaptors::#{subject.class}".constantize.new(subject)
subject_adaptor.base_path + "/revisions"
end
end
end

0 comments on commit 0b3abd2

Please sign in to comment.