multisite fix, allow show through (security is handled in the controller)
This commit is contained in:
parent
33a5fce124
commit
719f558746
|
@ -1,6 +1,6 @@
|
||||||
class UploadsController < ApplicationController
|
class UploadsController < ApplicationController
|
||||||
before_filter :ensure_logged_in, except: [:show]
|
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
|
def create
|
||||||
type = params.require(:type)
|
type = params.require(:type)
|
||||||
|
|
Loading…
Reference in New Issue