Commit 751d267f authored by Marin Jankovski's avatar Marin Jankovski

Create required issue param for new action.

parent 8fb76a83
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment