Commit 0cd81fccd1b17721a26ed7ba035e7da9c0e47dac
1 parent
299fbfe0
Exists in
theme-brasil-digital-from-staging
and in
9 other branches
Fix article rendering for UploadedFile
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
app/controllers/public/content_viewer_controller.rb
... | ... | @@ -69,7 +69,7 @@ class ContentViewerController < ApplicationController |
69 | 69 | if params[:slideshow] |
70 | 70 | render :action => 'slideshow', :layout => 'slideshow' |
71 | 71 | else |
72 | - render :file => @page.view_page, :layout => true | |
72 | + render :file => @page.view_page, :layout => true, :formats => [:html] | |
73 | 73 | end |
74 | 74 | end |
75 | 75 | ... | ... |