Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove templates and views that render static error pages #3527

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 0 additions & 14 deletions app/controllers/root_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -8,20 +8,6 @@ class RootController < ApplicationController
caches_page :template

TEMPLATES = %w[
400
401
403
404
405
406
410
422
429
500
501
502
503
504
gem_layout
gem_layout_account_manager
gem_layout_full_width
Expand Down
5 changes: 0 additions & 5 deletions app/views/root/400.html.erb

This file was deleted.

5 changes: 0 additions & 5 deletions app/views/root/401.html.erb

This file was deleted.

5 changes: 0 additions & 5 deletions app/views/root/403.html.erb

This file was deleted.

6 changes: 0 additions & 6 deletions app/views/root/404.html.erb

This file was deleted.

5 changes: 0 additions & 5 deletions app/views/root/405.html.erb

This file was deleted.

6 changes: 0 additions & 6 deletions app/views/root/406.html.erb

This file was deleted.

7 changes: 0 additions & 7 deletions app/views/root/410.html.erb

This file was deleted.

5 changes: 0 additions & 5 deletions app/views/root/422.html.erb

This file was deleted.

6 changes: 0 additions & 6 deletions app/views/root/429.html.erb

This file was deleted.

5 changes: 0 additions & 5 deletions app/views/root/500.html.erb

This file was deleted.

5 changes: 0 additions & 5 deletions app/views/root/501.html.erb

This file was deleted.

5 changes: 0 additions & 5 deletions app/views/root/502.html.erb

This file was deleted.

5 changes: 0 additions & 5 deletions app/views/root/503.html.erb

This file was deleted.

5 changes: 0 additions & 5 deletions app/views/root/504.html.erb

This file was deleted.

35 changes: 0 additions & 35 deletions app/views/root/_error_page.html.erb

This file was deleted.

29 changes: 0 additions & 29 deletions test/integration/templates/error_4xx_test.rb

This file was deleted.

29 changes: 0 additions & 29 deletions test/integration/templates/error_5xx_test.rb

This file was deleted.

Loading