Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Gist activity message update

  • Loading branch information...
commit d1553828e9bbc5dcf1af0e8a1d0da29fef82b6b3 1 parent fbb6e04
Ryan Daigle authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  app/views/layouts/application.html.haml
2  app/views/layouts/application.html.haml
View
@@ -26,7 +26,7 @@
%body.launch
#profile
- if user_logged_in?
- %span.last-edited= "Most recent gist edited on #{current_user.last_gist_updated_at.to_formatted_s(:short)}"
+ %span.last-edited= "Last known gist activity on #{current_user.last_gist_updated_at ? current_user.last_gist_updated_at.to_formatted_s(:short) : 'never'}"
%span.logout= link_to("logout", logout_path)
#header
.container
Please sign in to comment.
Something went wrong with that request. Please try again.