projects
/
arvados.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
11167: Revert removing ActionController::Live from collections controller
[arvados.git]
/
apps
/
workbench
/
app
/
controllers
/
collections_controller.rb
diff --git
a/apps/workbench/app/controllers/collections_controller.rb
b/apps/workbench/app/controllers/collections_controller.rb
index 8025681f2d5b3e4cce0981a792a9c62b5d4fc538..5fcb2dc569ff6b2446c602dc26de61a069155ba2 100644
(file)
--- a/
apps/workbench/app/controllers/collections_controller.rb
+++ b/
apps/workbench/app/controllers/collections_controller.rb
@@
-7,6
+7,8
@@
require "arvados/collection"
require "uri"
class CollectionsController < ApplicationController
+ include ActionController::Live
+
skip_around_filter :require_thread_api_token, if: proc { |ctrl|
Rails.configuration.anonymous_user_token and
'show' == ctrl.action_name