Commit 8f571c0344862a7fddfbe338a3f730de9336621d

Authored by Victor Costa
2 parents 2ece184b 568e84c9

Merge branch 'AI3074-community_dashboard' into stable

app/controllers/public/content_viewer_controller.rb
... ... @@ -70,7 +70,7 @@ class ContentViewerController < ApplicationController
70 70 render :action => 'slideshow', :layout => 'slideshow'
71 71 return
72 72 end
73   - render :view_page, :formats => [:html]
  73 + render @page.view_page, :formats => [:html]
74 74 end
75 75  
76 76 def versions_diff
... ...
plugins/community_hub/lib/community_hub_plugin/hub.rb
... ... @@ -54,7 +54,7 @@ class CommunityHubPlugin::Hub < Folder
54 54 end
55 55  
56 56 def view_page
57   - "content_viewer/hub.rhtml"
  57 + "content_viewer/hub"
58 58 end
59 59  
60 60 def mediator?(user)
... ...