14812: Finish first pass migrating config items
[arvados.git] / apps / workbench / app / controllers / pipeline_instances_controller.rb
index 26a9f85d4e4e890b85ab722151737afe12d2dd12..c8863653a1b8f30433ce77d2570bd831cc7cfbd7 100644 (file)
@@ -6,7 +6,7 @@ class PipelineInstancesController < ApplicationController
   skip_before_action :find_object_by_uuid, only: :compare
   before_action :find_objects_by_uuid, only: :compare
   skip_around_action :require_thread_api_token, if: proc { |ctrl|
-    Rails.configuration.anonymous_user_token and
+    !Rails.configuration.Users.AnonymousUserToken.empty? and
     'show' == ctrl.action_name
   }