Rename api OldController to OldElementsController
This commit is contained in:
parent
c79da4746a
commit
588b77244b
4 changed files with 4 additions and 4 deletions
|
@ -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]
|
|
@ -1,5 +1,5 @@
|
|||
module Api
|
||||
class OldNodesController < OldController
|
||||
class OldNodesController < OldElementsController
|
||||
private
|
||||
|
||||
def lookup_old_element
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
module Api
|
||||
class OldRelationsController < OldController
|
||||
class OldRelationsController < OldElementsController
|
||||
private
|
||||
|
||||
def lookup_old_element
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
module Api
|
||||
class OldWaysController < OldController
|
||||
class OldWaysController < OldElementsController
|
||||
private
|
||||
|
||||
def lookup_old_element
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue