Convert api element history actions to versions resources
This commit is contained in:
parent
974e404a6e
commit
98af87d1cb
16 changed files with 175 additions and 134 deletions
|
@ -7,7 +7,7 @@ module Api
|
|||
end
|
||||
|
||||
def lookup_old_element_versions
|
||||
@elements = OldRelation.where(:relation_id => params[:id]).order(:version)
|
||||
@elements = OldRelation.where(:relation_id => params[:relation_id]).order(:version)
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue