multisite fix, allow show through (security is handled in the controller)

This commit is contained in:
Sam 2015-07-24 09:41:46 +10:00
parent 33a5fce124
commit 719f558746

View File

@ -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)