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