mirror of
https://github.com/discourse/discourse.git
synced 2025-05-22 22:21:04 +08:00
FIX: better uploads error page
This commit is contained in:
@ -55,7 +55,7 @@ class UploadsController < ApplicationController
|
||||
protected
|
||||
|
||||
def render_404
|
||||
render nothing: true, status: 404
|
||||
raise Discourse::NotFound
|
||||
end
|
||||
|
||||
def create_upload(file, url, type)
|
||||
|
Reference in New Issue
Block a user