Commit 5710cda8420c4193276b39c22589964d91691e4b
1 parent
64b33a5d
Exists in
master
and in
22 other branches
rails3: fix render of private profile
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
app/controllers/public/content_viewer_controller.rb
@@ -168,7 +168,7 @@ class ContentViewerController < ApplicationController | @@ -168,7 +168,7 @@ class ContentViewerController < ApplicationController | ||
168 | elsif !@page.display_to?(user) | 168 | elsif !@page.display_to?(user) |
169 | if !profile.public? | 169 | if !profile.public? |
170 | private_profile_partial_parameters | 170 | private_profile_partial_parameters |
171 | - render :template => 'profile/_private_profile.rhtml', :status => 403 | 171 | + render :template => 'profile/_private_profile', :status => 403 |
172 | allowed = false | 172 | allowed = false |
173 | else #if !profile.visible? | 173 | else #if !profile.visible? |
174 | render_access_denied | 174 | render_access_denied |