projects
/
arvados.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
14988: Restores debug message when accessing non-loaded attributes.
[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 7d94e3469a10792f148a32e5c3a84e67c564dbc4..c497c70d434c4b67edb1dab42c2558bdd8242b16 100644
(file)
--- a/
apps/workbench/app/controllers/pipeline_templates_controller.rb
+++ b/
apps/workbench/app/controllers/pipeline_templates_controller.rb
@@
-3,7
+3,7
@@
# SPDX-License-Identifier: AGPL-3.0
class PipelineTemplatesController < ApplicationController
# SPDX-License-Identifier: AGPL-3.0
class PipelineTemplatesController < ApplicationController
- skip_around_
filter
:require_thread_api_token, if: proc { |ctrl|
+ skip_around_
action
:require_thread_api_token, if: proc { |ctrl|
Rails.configuration.anonymous_user_token and
'show' == ctrl.action_name
}
Rails.configuration.anonymous_user_token and
'show' == ctrl.action_name
}