Skip to content

Commit 8d9ff07

Browse files
committed
Fix upgrade in progress page
1 parent ef871b7 commit 8d9ff07

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

config/application.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,6 @@ class Application < Rails::Application
1717
config.autoload_lib(ignore: %w[assets tasks])
1818

1919
require_relative "../app/middleware/pending_migration_catcher"
20-
config.middleware.insert_before ActionDispatch::ShowExceptions, PendingMigrationCatcher
20+
config.middleware.insert_before 0, PendingMigrationCatcher
2121
end
2222
end

0 commit comments

Comments
 (0)