Commit 526b9d3429dcdb7d60440d72d33436d5556c5220
1 parent
ccc27795
Exists in
theme-brasil-digital-from-staging
and in
9 other branches
community_dashboard: fix slideshow
Showing
1 changed file
with
2 additions
and
2 deletions
Show diff stats
app/controllers/public/content_viewer_controller.rb
@@ -114,9 +114,9 @@ class ContentViewerController < ApplicationController | @@ -114,9 +114,9 @@ class ContentViewerController < ApplicationController | ||
114 | 114 | ||
115 | if params[:slideshow] | 115 | if params[:slideshow] |
116 | render :action => 'slideshow', :layout => 'slideshow' | 116 | render :action => 'slideshow', :layout => 'slideshow' |
117 | + else | ||
118 | + render :file => @page.view_page, :layout => true | ||
117 | end | 119 | end |
118 | - | ||
119 | - render :file => @page.view_page, :layout => true | ||
120 | end | 120 | end |
121 | 121 | ||
122 | def article_versions | 122 | def article_versions |