[ARVADOS] updated: 9899ee7ffeaa915e36df61cd814cf6e06db7ebe9

git at public.curoverse.com git at public.curoverse.com
Mon Feb 3 14:05:11 EST 2014


Summary of changes:
 .../app/views/links/_breadcrumb_page_name.html.erb |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

       via  9899ee7ffeaa915e36df61cd814cf6e06db7ebe9 (commit)
      from  5dd1249f3ec74643957202977f92e42be78f65d8 (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 9899ee7ffeaa915e36df61cd814cf6e06db7ebe9
Author: Tom Clegg <tom at curoverse.com>
Date:   Mon Feb 3 11:04:06 2014 -0800

    Fix breadcrumbs crash if link has no tail_kind or head_kind.

diff --git a/apps/workbench/app/views/links/_breadcrumb_page_name.html.erb b/apps/workbench/app/views/links/_breadcrumb_page_name.html.erb
index 00acb84..8c35905 100644
--- a/apps/workbench/app/views/links/_breadcrumb_page_name.html.erb
+++ b/apps/workbench/app/views/links/_breadcrumb_page_name.html.erb
@@ -1,8 +1,8 @@
 <% if @object %>
 (<%= @object.link_class %>)
 <%= @object.name %>:
-<%= @object.tail_kind.sub 'arvados#', ' ' %>
+<%= @object.tail_kind.andand.sub 'arvados#', '' %>
 →
-<%= @object.head_kind.sub 'arvados#', ' ' %>
+<%= @object.head_kind.andand.sub 'arvados#', '' %>
 <% end %>
 

-----------------------------------------------------------------------


hooks/post-receive
-- 




More information about the arvados-commits mailing list