From 36b4355956d23f3b7402fba0e18318fc70e31e27 Mon Sep 17 00:00:00 2001 From: Lucas Di Pentima Date: Thu, 10 Aug 2017 08:49:09 -0300 Subject: [PATCH] 11167: Revert removing ActionController::Live from collections controller Arvados-DCO-1.1-Signed-off-by: Lucas Di Pentima --- apps/workbench/app/controllers/collections_controller.rb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/apps/workbench/app/controllers/collections_controller.rb b/apps/workbench/app/controllers/collections_controller.rb index 8025681f2d..5fcb2dc569 100644 --- 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 -- 2.30.2