aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Deutschmann <whissi@gentoo.org>2018-01-15 02:54:55 +0100
committerThomas Deutschmann <whissi@gentoo.org>2018-01-15 02:54:55 +0100
commit23c9a85c7f46025225a4c9b1b61ccb40c4719cb4 (patch)
treed4d8e1bfdf68d10570d8634ed3443371cb6436c8
parentBump version. (diff)
downloadglsamaker-23c9a85c7f46025225a4c9b1b61ccb40c4719cb4.tar.gz
glsamaker-23c9a85c7f46025225a4c9b1b61ccb40c4719cb4.tar.bz2
glsamaker-23c9a85c7f46025225a4c9b1b61ccb40c4719cb4.zip
Attempt to fix finalize_release view2.1.7
-rw-r--r--app/controllers/glsa_controller.rb4
1 files changed, 4 insertions, 0 deletions
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