From 719f558746f76b8ea41ed92bec50abe9c5710d06 Mon Sep 17 00:00:00 2001 From: Sam Date: Fri, 24 Jul 2015 09:41:46 +1000 Subject: [PATCH] multisite fix, allow show through (security is handled in the controller) --- app/controllers/uploads_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/uploads_controller.rb b/app/controllers/uploads_controller.rb index 1036e193633..0a4d1b6dafb 100644 --- a/app/controllers/uploads_controller.rb +++ b/app/controllers/uploads_controller.rb @@ -1,6 +1,6 @@ class UploadsController < ApplicationController before_filter :ensure_logged_in, except: [:show] - skip_before_filter :preload_json, :check_xhr, only: [:show] + skip_before_filter :preload_json, :check_xhr, :redirect_to_login_if_required, only: [:show] def create type = params.require(:type)