From a97a59c1aa53c5a781b69987ad07e030bed565fb Mon Sep 17 00:00:00 2001 From: Christopher Diaz Riveros Date: Sat, 26 May 2018 12:40:06 -0500 Subject: glsa_controller: Fix format for 'close bugs' Fixes the final screen 'Release finished' after closing related bugs. Signed-off-by: Christopher Diaz Riveros --- app/controllers/glsa_controller.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/controllers/glsa_controller.rb b/app/controllers/glsa_controller.rb index 449b5ec..84012b6 100644 --- a/app/controllers/glsa_controller.rb +++ b/app/controllers/glsa_controller.rb @@ -369,7 +369,7 @@ class GlsaController < ApplicationController # ugly hack, but necessary to switch back to html @real_format = 'html' - render(:format => :html, :layout => 'application') + render(:formats => [:html], :layout => 'application') end def finalize_release @@ -387,7 +387,7 @@ class GlsaController < ApplicationController # ugly hack, but necessary to switch back to html @real_format = 'html' - render(:format => :html, :layout => 'application') + render(:formats => [:html], :layout => 'application') end def diff -- cgit v1.2.3-65-gdbad