Merge branch 'issue_strong_param' into 'master'
Issue strong param Fixes #1390
This commit is contained in:
commit
4e1f9e2b8b
1 changed files with 4 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue