Commit 5a12bee3 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

fix 500 on project page after someone leave note on wall

parent 0f83558b
......@@ -5,9 +5,12 @@
- if update.kind_of? Note
%p
%strong
- if update.target
= update.target.class.name.titleize
= truncate update.target.id.to_s, :length => 10
commented
- else
Project wall
–
= image_tag gravatar_icon(update.author_email), :class => "", :width => 16
= truncate dashboard_feed_title(update), :length => 50
......
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