Merge remote-tracking branch 'upstream/pull/4642'

This commit is contained in:
Tom Hughes 2024-04-02 18:24:50 +01:00
commit 7d7126736e
4 changed files with 4 additions and 4 deletions

View file

@ -2,7 +2,7 @@
# into one place. as it turns out, the API methods for historical
# nodes, ways and relations are basically identical.
module Api
class OldController < ApiController
class OldElementsController < ApiController
before_action :check_api_readable
before_action :check_api_writable, :only => [:redact]
before_action :setup_user_auth, :only => [:history, :show]

View file

@ -1,5 +1,5 @@
module Api
class OldNodesController < OldController
class OldNodesController < OldElementsController
private
def lookup_old_element

View file

@ -1,5 +1,5 @@
module Api
class OldRelationsController < OldController
class OldRelationsController < OldElementsController
private
def lookup_old_element

View file

@ -1,5 +1,5 @@
module Api
class OldWaysController < OldController
class OldWaysController < OldElementsController
private
def lookup_old_element