From 23c9a85c7f46025225a4c9b1b61ccb40c4719cb4 Mon Sep 17 00:00:00 2001 From: Thomas Deutschmann Date: Mon, 15 Jan 2018 02:54:55 +0100 Subject: Attempt to fix finalize_release view --- app/controllers/glsa_controller.rb | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/app/controllers/glsa_controller.rb b/app/controllers/glsa_controller.rb index 775b7cd..449b5ec 100644 --- a/app/controllers/glsa_controller.rb +++ b/app/controllers/glsa_controller.rb @@ -384,6 +384,10 @@ class GlsaController < ApplicationController @glsa.close_bugs(message) end + + # ugly hack, but necessary to switch back to html + @real_format = 'html' + render(:format => :html, :layout => 'application') end def diff -- cgit v1.2.3-18-g5258