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,7 +69,7 @@ class ContentViewerController < ApplicationController | ||
69 | if params[:slideshow] | 69 | if params[:slideshow] |
70 | render :action => 'slideshow', :layout => 'slideshow' | 70 | render :action => 'slideshow', :layout => 'slideshow' |
71 | else | 71 | else |
72 | - render :file => @page.view_page, :layout => true | 72 | + render :file => @page.view_page, :layout => true, :formats => [:html] |
73 | end | 73 | end |
74 | end | 74 | end |
75 | 75 |