Send author to post hook. Display push activity to dashboard

This commit is contained in:
Dmitriy Zaporozhets 2012-02-29 22:38:24 +02:00
parent 796784c7c8
commit bb164ebf1b
15 changed files with 107 additions and 11 deletions

View file

@ -69,7 +69,10 @@ class IssuesController < ApplicationController
@issue.author = current_user
@issue.save
respond_with(@issue)
respond_to do |format|
format.html { redirect_to project_issue_path(@project, @issue) }
format.js
end
end
def update