Commit b462b0c6ebfea32ba816ee8c30bc5aa4e5049e91
1 parent
c818c93a
Exists in
master
and in
4 other branches
Pre-selected assignee implemented
Showing
1 changed file
with
1 additions
and
0 deletions
Show diff stats
app/controllers/issues_controller.rb
... | ... | @@ -39,6 +39,7 @@ class IssuesController < ApplicationController |
39 | 39 | def new |
40 | 40 | @issue = @project.issues.new |
41 | 41 | @issue.milestone_id = params[:milestone_id] if params[:milestone_id].present? |
42 | + @issue.assignee_id = params[:assignee_id] if params[:assignee_id].present? | |
42 | 43 | respond_with(@issue) |
43 | 44 | end |
44 | 45 | ... | ... |