Merge branch '2659-anonymous-share-projects' refs #2659
[arvados.git] / apps / workbench / app / controllers / pipeline_templates_controller.rb
index 2b2e9a4e33925da7899007910b213ce130811303..83ab88f6122dd1e5234bb12e4978fbabe89b263f 100644 (file)
@@ -1,4 +1,9 @@
 class PipelineTemplatesController < ApplicationController
+  skip_around_filter :require_thread_api_token, if: proc { |ctrl|
+    Rails.configuration.anonymous_user_token and
+    'show' == ctrl.action_name
+  }
+
   include PipelineComponentsHelper
 
   def show