From 06ad1cbbc1e31a8f3a0e8a9cdb94e2b670de6d5e Mon Sep 17 00:00:00 2001 From: evazion Date: Mon, 5 Aug 2019 11:03:10 -0500 Subject: [PATCH] Fix #3685: Bare layout for error pages. --- 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 291adbe46..6d0edfab0 100644 --- a/app/controllers/application_controller.rb +++ b/app/controllers/application_controller.rb @@ -116,7 +116,7 @@ class ApplicationController < ActionController::Base fmt.xml { render template: "static/error", status: 501 } end else - render :template => "static/error", :status => 500, :layout => "blank" + render template: "static/error", status: 500 end end