projects
/
arvados.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
6846: Workbench navigation bar login returns user to the same page.
[arvados.git]
/
apps
/
workbench
/
app
/
controllers
/
pipeline_templates_controller.rb
diff --git
a/apps/workbench/app/controllers/pipeline_templates_controller.rb
b/apps/workbench/app/controllers/pipeline_templates_controller.rb
index 2b2e9a4e33925da7899007910b213ce130811303..83ab88f6122dd1e5234bb12e4978fbabe89b263f 100644
(file)
--- a/
apps/workbench/app/controllers/pipeline_templates_controller.rb
+++ b/
apps/workbench/app/controllers/pipeline_templates_controller.rb
@@
-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