@ -47,10 +47,6 @@ module API
def delay=(value)
model.delay = value
end
# def type
# model.relation_type
# end
@ -70,18 +70,9 @@ module API
private
def related_work_package
if represented.model.from == @work_package
represented.model.to
else
represented.model.from
def relation_type
represented.model.relation_type_for(@work_package).camelize