Use project object extracted by before filter

pull/1683/head
Hagen Schink 10 years ago
parent 10eb855748
commit 22184c373e
  1. 2
      app/controllers/work_packages_controller.rb

@ -460,7 +460,7 @@ class WorkPackagesController < ApplicationController
attributes = []
call_hook(:work_packages_overview_attributes,
work_package: work_package,
project: project,
project: @project,
attributes: attributes)
attributes
end

Loading…
Cancel
Save