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:
parent
3a89df9ddf
commit
b32d931a2b
|
@ -45,6 +45,6 @@ class ApplicationController < ActionController::Base
|
||||||
end
|
end
|
||||||
|
|
||||||
def render_404
|
def render_404
|
||||||
render file: "#{Rails.root}/public/404", status: :not_found
|
render file: "#{Rails.root}/public/404.html", status: :not_found
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue