From b462b0c6ebfea32ba816ee8c30bc5aa4e5049e91 Mon Sep 17 00:00:00 2001
From: Alex Denisov <1101.debian@gmail.com>
Date: Fri, 7 Sep 2012 16:52:48 +0300
Subject: [PATCH] Pre-selected assignee implemented

---
 app/controllers/issues_controller.rb | 1 +
 1 file changed, 1 insertion(+)

diff --git a/app/controllers/issues_controller.rb b/app/controllers/issues_controller.rb
index b98c0b014e7..05f5abb8cce 100644
--- a/app/controllers/issues_controller.rb
+++ b/app/controllers/issues_controller.rb
@@ -39,6 +39,7 @@ class IssuesController < ApplicationController
   def new
     @issue = @project.issues.new
     @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)
   end
 
-- 
2.30.9