Commit 60b19a8f186ccb9f78ecc895b4a5339f00bc4636

Authored by Gabriela Navarro
1 parent 7ce466a9

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 &lt; ApplicationController
13 13  
14 14 def private_profile
15 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 17 end
18 18  
19 19 def invisible_profile
... ...