Commit c9cd2944bbddc05495814dcf518bed4ebd2b6c8d
Exists in
master
and in
27 other branches
Merge remote-tracking branch 'origin/master'
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 | 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 | ... | ... |