|
|
|
@ -12,8 +12,8 @@ module API |
|
|
|
|
|
|
|
|
|
before do |
|
|
|
|
@work_package = WorkPackage.find(params[:id]) |
|
|
|
|
model = WorkPackageModel.new(work_package: @work_package) |
|
|
|
|
@representer = WorkPackageRepresenter.new(model, :activities, :users) |
|
|
|
|
model = ::API::V3::WorkPackages::WorkPackageModel.new(work_package: @work_package) |
|
|
|
|
@representer = ::API::V3::WorkPackages::WorkPackageRepresenter.new(model, :activities, :users) |
|
|
|
|
end |
|
|
|
|
|
|
|
|
|
get do |
|
|
|
|