summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app/controllers/glsa_controller.rb')
-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