Create relation version redaction resource

This commit is contained in:
Anton Khorev 2025-02-11 07:04:19 +03:00
parent 8ccdc50313
commit edaca6995c
5 changed files with 186 additions and 131 deletions

View file

@ -0,0 +1,11 @@
module Api
module OldRelations
class RedactionsController < OldElements::RedactionsController
private
def lookup_old_element
@old_element = OldRelation.find([params[:relation_id], params[:version]])
end
end
end
end