Merge pull request 'Pm issue 调整更新参数' (#193) from KingChan/forgeplus:pm_project_develop into pm_project_develop
This commit is contained in:
commit
af97483873
|
@ -33,7 +33,7 @@ class Api::V1::Issues::UpdateService < ApplicationService
|
||||||
@pm_project_id = params[:pm_project_id]
|
@pm_project_id = params[:pm_project_id]
|
||||||
@pm_sprint_id = params[:pm_sprint_id]
|
@pm_sprint_id = params[:pm_sprint_id]
|
||||||
@pm_issue_type = params[:pm_issue_type]
|
@pm_issue_type = params[:pm_issue_type]
|
||||||
@parent_id = params[:parent_id]
|
@root_id = params[:root_id]
|
||||||
@time_scale = params[:time_scale]
|
@time_scale = params[:time_scale]
|
||||||
@add_assigner_ids = []
|
@add_assigner_ids = []
|
||||||
@previous_issue_changes = {}
|
@previous_issue_changes = {}
|
||||||
|
@ -76,7 +76,7 @@ class Api::V1::Issues::UpdateService < ApplicationService
|
||||||
@created_issue.pm_project_id = @pm_project_id
|
@created_issue.pm_project_id = @pm_project_id
|
||||||
@created_issue.pm_sprint_id = @pm_sprint_id
|
@created_issue.pm_sprint_id = @pm_sprint_id
|
||||||
@created_issue.pm_issue_type = @pm_issue_type
|
@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
|
@created_issue.time_scale = @time_scale
|
||||||
|
|
||||||
@updated_issue.updated_on = Time.now
|
@updated_issue.updated_on = Time.now
|
||||||
|
|
|
@ -791,11 +791,6 @@ Rails.application.routes.draw do
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
namespace :pm do
|
|
||||||
resource :issues
|
|
||||||
resource :journals
|
|
||||||
end
|
|
||||||
|
|
||||||
namespace :admins do
|
namespace :admins do
|
||||||
mount Sidekiq::Web => '/sidekiq'
|
mount Sidekiq::Web => '/sidekiq'
|
||||||
get '/', to: 'dashboards#index'
|
get '/', to: 'dashboards#index'
|
||||||
|
|
Loading…
Reference in New Issue