X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/ebb166d65eb37f89edeccfc5be97014f3f2a73e2..ed413bb7071fe0d58a98828e89be21fef5681200:/apps/workbench/app/views/application/_content.html.erb diff --git a/apps/workbench/app/views/application/_content.html.erb b/apps/workbench/app/views/application/_content.html.erb index 8a0624b7af..65a518faee 100644 --- a/apps/workbench/app/views/application/_content.html.erb +++ b/apps/workbench/app/views/application/_content.html.erb @@ -1,30 +1,42 @@ <% content_for :tab_panes do %> -<% comparable = controller.respond_to? :compare %> -<% pane_list ||= %w(recent) %> -<% panes = Hash[pane_list.map { |pane| - [pane, render(partial: 'show_' + pane.downcase, - locals: { comparable: comparable, objects: @objects })] - }.compact] %> + <% comparable = controller.respond_to? :compare %> -