diff options
-rw-r--r-- | config/application.rb | 1 | ||||
-rw-r--r-- | public/errors/404.html (renamed from public/404.html) | 0 | ||||
-rw-r--r-- | public/errors/422.html (renamed from public/422.html) | 0 | ||||
-rw-r--r-- | public/errors/500.html (renamed from public/500.html) | 0 |
4 files changed, 1 insertions, 0 deletions
diff --git a/config/application.rb b/config/application.rb index 095566e..6d31fb0 100644 --- a/config/application.rb +++ b/config/application.rb | |||
@@ -23,5 +23,6 @@ module Wittle | |||
23 | # | 23 | # |
24 | # config.time_zone = "Central Time (US & Canada)" | 24 | # config.time_zone = "Central Time (US & Canada)" |
25 | # config.eager_load_paths << Rails.root.join("extras") | 25 | # config.eager_load_paths << Rails.root.join("extras") |
26 | config.exceptions_app = ActionDispatch::PublicExceptions.new(Rails.public_path.join("errors")) | ||
26 | end | 27 | end |
27 | end | 28 | end |
diff --git a/public/404.html b/public/errors/404.html index 2be3af2..2be3af2 100644 --- a/public/404.html +++ b/public/errors/404.html | |||
diff --git a/public/422.html b/public/errors/422.html index c08eac0..c08eac0 100644 --- a/public/422.html +++ b/public/errors/422.html | |||
diff --git a/public/500.html b/public/errors/500.html index 78a030a..78a030a 100644 --- a/public/500.html +++ b/public/errors/500.html | |||