diff --git a/app/controllers/public/content_viewer_controller.rb b/app/controllers/public/content_viewer_controller.rb index 15a3e74..bf281a9 100644 --- a/app/controllers/public/content_viewer_controller.rb +++ b/app/controllers/public/content_viewer_controller.rb @@ -168,7 +168,7 @@ class ContentViewerController < ApplicationController elsif !@page.display_to?(user) if !profile.public? private_profile_partial_parameters - render :template => 'profile/_private_profile.rhtml', :status => 403 + render :template => 'profile/_private_profile', :status => 403 allowed = false else #if !profile.visible? render_access_denied -- libgit2 0.21.2