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