summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Diaz Riveros <chrisadr@gentoo.org>2018-05-26 12:40:06 -0500
committerAaron Bauman <bman@gentoo.org>2018-05-26 14:00:15 -0400
commita97a59c1aa53c5a781b69987ad07e030bed565fb (patch)
treee12293df8db62d5399b25e45914fab9c82dd4704
parentWe are now using Git! (diff)
downloadglsamaker-a97a59c1aa53c5a781b69987ad07e030bed565fb.tar.gz
glsamaker-a97a59c1aa53c5a781b69987ad07e030bed565fb.tar.bz2
glsamaker-a97a59c1aa53c5a781b69987ad07e030bed565fb.zip
glsa_controller: Fix format for 'close bugs'
Fixes the final screen 'Release finished' after closing related bugs. Signed-off-by: Christopher Diaz Riveros <chrisadr@gentoo.org>
-rw-r--r--app/controllers/glsa_controller.rb4
1 files 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