diff --git a/app/controllers/public/content_viewer_controller.rb b/app/controllers/public/content_viewer_controller.rb index 2f3f168..ea5925a 100644 --- a/app/controllers/public/content_viewer_controller.rb +++ b/app/controllers/public/content_viewer_controller.rb @@ -126,7 +126,7 @@ class ContentViewerController < ApplicationController elsif !@page.display_to?(user) if !profile.public? private_profile_partial_parameters - render :template => 'profile/_private_profile', :status => 403 + render :template => 'profile/_private_profile', :status => 403, :formats => [:html] allowed = false else #if !profile.visible? render_access_denied -- libgit2 0.21.2