aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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