mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06: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