Commit 05628e0c authored by Alfredo Sumaran's avatar Alfredo Sumaran Committed by Jacob Schatz

Fixes failing spec

parent 16459fdd
...@@ -25,6 +25,8 @@ module Projects ...@@ -25,6 +25,8 @@ module Projects
end end
def target_owner def target_owner
return [] unless @target && @target.author.present?
[{ [{
name: @target.author.name, name: @target.author.name,
username: @target.author.username username: @target.author.username
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment