aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHenare Degan <henare.degan@gmail.com>2013-03-15 15:00:04 +1100
committerHenare Degan <henare.degan@gmail.com>2013-03-15 15:00:04 +1100
commit8b527cfaff98085b910770e6427c5394867a1fc1 (patch)
treea09934f9bf9f14126329220e91790555cb4b10bd
parent8e31340c425f2eeb493435fc1302de5621d62b83 (diff)
Some of these values are Time objects so cast them to a string. Not sure why we didn't run into a problem here before
-rw-r--r--app/views/admin_request/show.html.erb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/admin_request/show.html.erb b/app/views/admin_request/show.html.erb
index cb186e9e3..d6d208daa 100644
--- a/app/views/admin_request/show.html.erb
+++ b/app/views/admin_request/show.html.erb
@@ -306,7 +306,7 @@
<%= simple_format( truncate(value, :length => 400, :omission => link_to("...", "#", :class => "toggle-hidden"))) %>
<div style="display:none;"><%= simple_format(value) %></div>
<% else %>
- <%= simple_format(value) %>
+ <%= simple_format(value.to_s) %>
<% end %>
</td>
</tr>