[refs #265] fixed issue assignee

This commit is contained in:
Alexander Machehin 2012-03-11 17:56:56 +06:00
parent cc6390f3a1
commit 66b57f7a0a
1 changed files with 0 additions and 3 deletions

View File

@ -38,12 +38,9 @@ class IssuesController < ApplicationController
end
def create
@user_id = params[:user_id]
@user_uname = params[:user_uname]
@issue = @project.issues.new(params[:issue])
@issue.creator_id = current_user.id
@issue.user_id = @user_id
if @issue.save
@issue.subscribe_creator(current_user.id)