Allow reporting of anonymous notes
This commit is contained in:
parent
3bd06529c7
commit
80a241f798
9 changed files with 63 additions and 18 deletions
|
@ -50,7 +50,7 @@ class IssuesController < ApplicationController
|
|||
@read_reports = @issue.read_reports
|
||||
@unread_reports = @issue.unread_reports
|
||||
@comments = @issue.comments
|
||||
@related_issues = @issue.reported_user.issues.where(:assigned_role => current_user.roles.map(&:role))
|
||||
@related_issues = @issue.reported_user.issues.where(:assigned_role => current_user.roles.map(&:role)) if @issue.reported_user
|
||||
@new_comment = IssueComment.new(:issue => @issue)
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue