21
1
Fork 0
mirror of https://github.com/Evolix/chexpire.git synced 2024-05-04 09:45:09 +02:00

Use absolute path for "render file"

This commit is contained in:
Jérémy Lecour 2019-08-17 12:24:13 +02:00
parent 3a89df9ddf
commit b32d931a2b

View file

@ -45,6 +45,6 @@ class ApplicationController < ActionController::Base
end
def render_404
render file: "#{Rails.root}/public/404", status: :not_found
render file: "#{Rails.root}/public/404.html", status: :not_found
end
end