Declare api way relations as nested resources
This commit is contained in:
parent
a6e614e44e
commit
2a38dca0b7
10 changed files with 108 additions and 44 deletions
|
@ -123,10 +123,6 @@ module Api
|
|||
end
|
||||
end
|
||||
|
||||
def relations_for_way
|
||||
relations_for_object("Way")
|
||||
end
|
||||
|
||||
def relations_for_relation
|
||||
relations_for_object("Relation")
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue