From 5333ddc975dfab2a95e136dc31e88ee30edcc57b Mon Sep 17 00:00:00 2001
From: Andrew Brown
Date: Tue, 6 Sep 2016 00:31:50 -0500
Subject: [PATCH] Display universe name on author content
---
app/views/content/list/_clean_list.html.erb | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/app/views/content/list/_clean_list.html.erb b/app/views/content/list/_clean_list.html.erb
index 1b9d62c6..4d443827 100644
--- a/app/views/content/list/_clean_list.html.erb
+++ b/app/views/content/list/_clean_list.html.erb
@@ -10,7 +10,11 @@
<%= content.description %>
- last edited <%= content.updated_at.strftime("%m/%d/%Y") %>
+ <% if content.respond_to?(:universe) && content.universe %>
+ <%= content.universe.name %>
+ <% else %>
+ last edited <%= content.updated_at.strftime("%m/%d/%Y") %>
+ <% end %>
<% end %>