19129: Select specific fields to speed up dashboard loading
[arvados.git] / apps / workbench / app / controllers / workflows_controller.rb
1 # Copyright (C) The Arvados Authors. All rights reserved.
2 #
3 # SPDX-License-Identifier: AGPL-3.0
4
5 class WorkflowsController < ApplicationController
6   skip_around_action :require_thread_api_token, if: proc { |ctrl|
7     !Rails.configuration.Users.AnonymousUserToken.empty? and
8     'show' == ctrl.action_name
9   }
10
11   def show_pane_list
12     %w(Definition Advanced)
13   end
14 end