[ARVADOS] updated: 7ee2fdbf6710397a608d548b210b89a68ea8f314
git at public.curoverse.com
git at public.curoverse.com
Sat Feb 15 20:43:46 EST 2014
Summary of changes:
.../app/views/layouts/application.html.erb | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
via 7ee2fdbf6710397a608d548b210b89a68ea8f314 (commit)
from bfc0652a9bbc650688a393596355392ead16dbbb (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
commit 7ee2fdbf6710397a608d548b210b89a68ea8f314
Author: Tom Clegg <tom at curoverse.com>
Date: Sat Feb 15 17:43:14 2014 -0800
Fix crash if @notifications is nil.
diff --git a/apps/workbench/app/views/layouts/application.html.erb b/apps/workbench/app/views/layouts/application.html.erb
index 0b6cd66..15e54ce 100644
--- a/apps/workbench/app/views/layouts/application.html.erb
+++ b/apps/workbench/app/views/layouts/application.html.erb
@@ -139,7 +139,7 @@
<span class="caret"></span>
</a>
<ul class="dropdown-menu" role="menu">
- <% if @notifications.length > 0 %>
+ <% if (@notifications || []).length > 0 %>
<% @notifications.each_with_index do |n, i| %>
<% if i > 0 %><li class="divider"></li><% end %>
<li class="notification"><%= n.call(self) %></li>
-----------------------------------------------------------------------
hooks/post-receive
--
More information about the arvados-commits
mailing list