From 5710cda8420c4193276b39c22589964d91691e4b Mon Sep 17 00:00:00 2001 From: Victor Costa Date: Tue, 6 May 2014 15:22:39 -0300 Subject: [PATCH] rails3: fix render of private profile --- app/controllers/public/content_viewer_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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