Commit f93f6d14 authored by Igor Drozdov's avatar Igor Drozdov

Fix deprecated rendering of file/template


(cherry picked from commit 50965afdd642d678de4a787ccb4e4768ad5d8669)
parent e16f9470
......@@ -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