20259: Add documentation for banner and tooltip features
[arvados.git] / apps / workbench / app / controllers / pipeline_templates_controller.rb
index c497c70d434c4b67edb1dab42c2558bdd8242b16..aa444c153b6163d3a65d43bbeb790d2c06688844 100644 (file)
@@ -4,7 +4,7 @@
 
 class PipelineTemplatesController < ApplicationController
   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
   }