Remove superfluous methods

pull/1631/head
Hagen Schink 10 years ago
parent bfc1ddb2f5
commit bc513cd649
  1. 4
      lib/api/v3/work_packages/relation_model.rb
  2. 9
      lib/api/v3/work_packages/relation_representer.rb

@ -47,10 +47,6 @@ module API
def delay=(value)
model.delay = value
end
# def type
# model.relation_type
# end
end
end
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
end
end
def relation_type
represented.model.relation_type_for(@work_package).camelize
end
end
end
end

Loading…
Cancel
Save