Create way version redaction resource

This commit is contained in:
Anton Khorev 2025-02-11 06:43:09 +03:00
parent 984dd624dd
commit 8ccdc50313
5 changed files with 187 additions and 131 deletions

View file

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