projects
/
arvados.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch '15422-collections-prov-doc' refs #15422
[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 0f0033ce4965663ef76a7f2e479d8e38d7642dfb..1ecea99babce40e6755839889d0f6dad6ef26b18 100644
(file)
--- a/
apps/workbench/app/controllers/work_units_controller.rb
+++ b/
apps/workbench/app/controllers/work_units_controller.rb
@@
-4,7
+4,7
@@
class WorkUnitsController < ApplicationController
skip_around_action :require_thread_api_token, if: proc { |ctrl|
class WorkUnitsController < ApplicationController
skip_around_action :require_thread_api_token, if: proc { |ctrl|
-
Rails.configuration.anonymous_user_token
and
+
!Rails.configuration.Users.AnonymousUserToken.empty?
and
'show_child_component' == ctrl.action_name
}
'show_child_component' == ctrl.action_name
}