Commit 08ebe563 authored by James Lopez's avatar James Lopez

Merge branch 'cherry-pick-50965afd' into 'master'

Fix deprecated rendering of file/template

See merge request gitlab-org/gitlab!60667
parents 156a3b90 f93f6d14
......@@ -35,6 +35,6 @@ module RequiresWhitelistedMonitoringClient
end
def render_404
render file: Rails.root.join('public', '404'), layout: false, status: '404'
render "errors/not_found", layout: "errors", status: :not_found
end
end
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment