Commit 60b19a8f186ccb9f78ecc895b4a5339f00bc4636
1 parent
7ce466a9
Exists in
master
and in
29 other branches
Change the template that is shown when the profile is private
Signed-off-by: Arthur Del Esposte <arthurmde@gmail.com> Signed_off_by: Gabriela Navarro <navarro1703@gmail.com>
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
app/controllers/public_controller.rb
@@ -13,7 +13,7 @@ class PublicController < ApplicationController | @@ -13,7 +13,7 @@ class PublicController < ApplicationController | ||
13 | 13 | ||
14 | def private_profile | 14 | def private_profile |
15 | private_profile_partial_parameters | 15 | private_profile_partial_parameters |
16 | - render :template => 'shared/access_denied.html.erb', :status => 403 | 16 | + render :template => 'profile/_private_profile', :status => 403, :formats => [:html] |
17 | end | 17 | end |
18 | 18 | ||
19 | def invisible_profile | 19 | def invisible_profile |