mirror of
https://gitlink.org.cn/Gitlink/forgeplus.git
synced 2026-05-03 03:40:49 +08:00
Merge pull request 'Pm issue 调整更新参数' (#193) from KingChan/forgeplus:pm_project_develop into pm_project_develop
This commit is contained in:
@@ -33,7 +33,7 @@ class Api::V1::Issues::UpdateService < ApplicationService
|
||||
@pm_project_id = params[:pm_project_id]
|
||||
@pm_sprint_id = params[:pm_sprint_id]
|
||||
@pm_issue_type = params[:pm_issue_type]
|
||||
@parent_id = params[:parent_id]
|
||||
@root_id = params[:root_id]
|
||||
@time_scale = params[:time_scale]
|
||||
@add_assigner_ids = []
|
||||
@previous_issue_changes = {}
|
||||
@@ -76,7 +76,7 @@ class Api::V1::Issues::UpdateService < ApplicationService
|
||||
@created_issue.pm_project_id = @pm_project_id
|
||||
@created_issue.pm_sprint_id = @pm_sprint_id
|
||||
@created_issue.pm_issue_type = @pm_issue_type
|
||||
@created_issue.parent_id = @parent_id
|
||||
@created_issue.root_id = @root_id
|
||||
@created_issue.time_scale = @time_scale
|
||||
|
||||
@updated_issue.updated_on = Time.now
|
||||
|
||||
@@ -791,11 +791,6 @@ Rails.application.routes.draw do
|
||||
end
|
||||
end
|
||||
|
||||
namespace :pm do
|
||||
resource :issues
|
||||
resource :journals
|
||||
end
|
||||
|
||||
namespace :admins do
|
||||
mount Sidekiq::Web => '/sidekiq'
|
||||
get '/', to: 'dashboards#index'
|
||||
|
||||
Reference in New Issue
Block a user