projects
/
arvados.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9fcd7e9
)
6476: add comment
author
radhika <radhika@curoverse.com>
Tue, 4 Aug 2015 14:41:44 +0000
(10:41 -0400)
committer
radhika <radhika@curoverse.com>
Tue, 4 Aug 2015 14:41:44 +0000
(10:41 -0400)
apps/workbench/app/controllers/actions_controller.rb
patch
|
blob
|
history
diff --git
a/apps/workbench/app/controllers/actions_controller.rb
b/apps/workbench/app/controllers/actions_controller.rb
index 2a0f74762baed083c63db29fc3a04d54634149a1..58b8cdc54f018e6dae20ba7b9c182bfbaef909c0 100644
(file)
--- a/
apps/workbench/app/controllers/actions_controller.rb
+++ b/
apps/workbench/app/controllers/actions_controller.rb
@@
-2,6
+2,8
@@
require "arvados/collection"
class ActionsController < ApplicationController
+ # Skip require_thread_api_token if this is a show action
+ # for an object uuid that supports anonymous access.
skip_around_filter :require_thread_api_token, if: proc { |ctrl|
Rails.configuration.anonymous_user_token and
'show' == ctrl.action_name and