From 459d0ed582fcd305376f534790a9624769ed36e8 Mon Sep 17 00:00:00 2001 From: jfederico Date: Thu, 29 Aug 2019 14:03:07 +0000 Subject: [PATCH] Reverted 500 error on migration failed --- app/controllers/application_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/application_controller.rb b/app/controllers/application_controller.rb index 1c2f857b..7202898a 100644 --- a/app/controllers/application_controller.rb +++ b/app/controllers/application_controller.rb @@ -49,7 +49,7 @@ class ApplicationController < ActionController::Base # Show an information page when migration fails and there is a version error. def migration_error? - render :migration_error, status: 500 unless ENV["DB_MIGRATE_FAILED"].blank? + render :migration_error unless ENV["DB_MIGRATE_FAILED"].blank? end def maintenance_mode?