mirror of
https://github.com/discourse/discourse.git
synced 2024-11-23 01:47:22 +08:00
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
|
||||
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)
|
||||
|
|
Loading…
Reference in New Issue
Block a user