Create way version redaction resource
This commit is contained in:
parent
984dd624dd
commit
8ccdc50313
5 changed files with 187 additions and 131 deletions
11
app/controllers/api/old_ways/redactions_controller.rb
Normal file
11
app/controllers/api/old_ways/redactions_controller.rb
Normal 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
|
Loading…
Add table
Add a link
Reference in a new issue