FIX: better uploads error page

This commit is contained in:
Arpit Jalan 2017-05-18 23:25:21 +05:30
parent 019f954c44
commit 1fd8e426f2

View File

@ -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)