mirror of
https://github.com/discourse/discourse.git
synced 2025-05-21 18:12:32 +08:00
multisite fix, allow show through (security is handled in the controller)
This commit is contained in:
@ -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)
|
||||
|
Reference in New Issue
Block a user