Removed crash if there was no latest status message
This commit is contained in:
parent
3376057c33
commit
a636d97837
1 changed files with 3 additions and 2 deletions
|
|
@ -50,6 +50,7 @@
|
|||
= link_to current_user.real_name, root_path
|
||||
%span#latest_message
|
||||
= my_latest_message
|
||||
- unless @latest_status_message.nil?
|
||||
%span{:style => "font-size: small"}
|
||||
= " - #{how_long_ago @latest_status_message}"
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue