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,8 +50,9 @@
|
||||||
= link_to current_user.real_name, root_path
|
= link_to current_user.real_name, root_path
|
||||||
%span#latest_message
|
%span#latest_message
|
||||||
= my_latest_message
|
= my_latest_message
|
||||||
%span{:style => "font-size: small"}
|
- unless @latest_status_message.nil?
|
||||||
= " - #{how_long_ago @latest_status_message}"
|
%span{:style => "font-size: small"}
|
||||||
|
= " - #{how_long_ago @latest_status_message}"
|
||||||
|
|
||||||
%ul.nav
|
%ul.nav
|
||||||
%li= link_to "home", root_path
|
%li= link_to "home", root_path
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue