Commit b462b0c6 authored by Alex Denisov's avatar Alex Denisov

Pre-selected assignee implemented

parent c818c93a
...@@ -39,6 +39,7 @@ class IssuesController < ApplicationController ...@@ -39,6 +39,7 @@ class IssuesController < ApplicationController
def new def new
@issue = @project.issues.new @issue = @project.issues.new
@issue.milestone_id = params[:milestone_id] if params[:milestone_id].present? @issue.milestone_id = params[:milestone_id] if params[:milestone_id].present?
@issue.assignee_id = params[:assignee_id] if params[:assignee_id].present?
respond_with(@issue) respond_with(@issue)
end 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