diff options
author | Star Rauchenberger <fefferburbia@gmail.com> | 2024-03-14 10:52:27 -0400 |
---|---|---|
committer | Star Rauchenberger <fefferburbia@gmail.com> | 2024-03-14 10:52:27 -0400 |
commit | 764e5c830c1148aaf15569f797d5ace2f7074c0e (patch) | |
tree | f263933790ec9c4dcaa25664f4e2bc6f65972f36 | |
parent | 1015d955d53edd8ddb6127115d2da01d505d639c (diff) | |
download | wittle-764e5c830c1148aaf15569f797d5ace2f7074c0e.tar.gz wittle-764e5c830c1148aaf15569f797d5ace2f7074c0e.tar.bz2 wittle-764e5c830c1148aaf15569f797d5ace2f7074c0e.zip |
Fix error pages aligning with puzzle IDs
-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 | |||