mirror of
https://github.com/wahyd4/gitlabhq.git
synced 2026-08-22 19:16:39 +10:00
Create required issue param for new action.
This commit is contained in:
@@ -42,6 +42,10 @@ class Projects::IssuesController < Projects::ApplicationController
|
||||
end
|
||||
|
||||
def new
|
||||
params[:issue] ||= ActionController::Parameters.new(
|
||||
assignee_id: ""
|
||||
)
|
||||
|
||||
@issue = @project.issues.new(issue_params)
|
||||
respond_with(@issue)
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user