[refs #194] issue executor

This commit is contained in:
Alexander Machehin 2012-03-07 22:27:12 +06:00
parent 8df4fdfa5c
commit 185962890f
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)