Commit 526b9d3429dcdb7d60440d72d33436d5556c5220

Authored by Victor Costa
1 parent ccc27795

community_dashboard: fix slideshow

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