projects
/
arvados.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch '15028-fix-tests' refs #15028
[arvados.git]
/
apps
/
workbench
/
app
/
controllers
/
work_units_controller.rb
diff --git
a/apps/workbench/app/controllers/work_units_controller.rb
b/apps/workbench/app/controllers/work_units_controller.rb
index d3ded867c198f5c265fafb7b49a89d50e1515fc9..0f0033ce4965663ef76a7f2e479d8e38d7642dfb 100644
(file)
--- a/
apps/workbench/app/controllers/work_units_controller.rb
+++ b/
apps/workbench/app/controllers/work_units_controller.rb
@@
-3,7
+3,7
@@
# SPDX-License-Identifier: AGPL-3.0
class WorkUnitsController < ApplicationController
# SPDX-License-Identifier: AGPL-3.0
class WorkUnitsController < 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_child_component' == ctrl.action_name
}
Rails.configuration.anonymous_user_token and
'show_child_component' == ctrl.action_name
}