removed unnecessary (and faulty) creation of blank deliverable_cost and deliverable_hour objects on creation of deliverable

git-svn-id: https://dev.finn.de/svn/cockpit/trunk@59 7926756e-e54e-46e6-9721-ed318f58905e
pull/6827/head
hjust 15 years ago
parent de35d55214
commit f412c6b05c
  1. 6
      app/controllers/deliverables_controller.rb

@ -111,12 +111,6 @@ class DeliverablesController < ApplicationController
end end
end end
case @deliverable.kind
when CostBasedDeliverable.name
@deliverable.deliverable_costs.build
@deliverable.deliverable_hours.build
end
render :layout => !request.xhr? render :layout => !request.xhr?
end end

Loading…
Cancel
Save