From 60b19a8f186ccb9f78ecc895b4a5339f00bc4636 Mon Sep 17 00:00:00 2001 From: Gabriela Navarro Date: Thu, 26 Feb 2015 10:50:23 -0300 Subject: [PATCH] Change the template that is shown when the profile is private --- app/controllers/public_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/public_controller.rb b/app/controllers/public_controller.rb index 34e5fcd..a9bb763 100644 --- a/app/controllers/public_controller.rb +++ b/app/controllers/public_controller.rb @@ -13,7 +13,7 @@ class PublicController < ApplicationController def private_profile private_profile_partial_parameters - render :template => 'shared/access_denied.html.erb', :status => 403 + render :template => 'profile/_private_profile', :status => 403, :formats => [:html] end def invisible_profile -- libgit2 0.21.2