]> git.openstreetmap.org Git - rails.git/blob - app/controllers/api/old_relations/redactions_controller.rb
Merge remote-tracking branch 'upstream/pull/5726'
[rails.git] / app / controllers / api / old_relations / redactions_controller.rb
1 module Api
2   module OldRelations
3     class RedactionsController < OldElements::RedactionsController
4       private
5
6       def lookup_old_element
7         @old_element = OldRelation.find([params[:relation_id], params[:version]])
8       end
9     end
10   end
11 end