Commit 0f3849876a8ce420817b5aee6949f3721b75b052

Authored by Victor Costa
2 parents e17b6cba c46b3355

Merge branch 'fix_content_viewer_private_uploaded_file' into stable

app/controllers/public/content_viewer_controller.rb
... ... @@ -185,7 +185,7 @@ class ContentViewerController < ApplicationController
185 185 elsif !@page.display_to?(user)
186 186 if !profile.public?
187 187 private_profile_partial_parameters
188   - render :template => 'profile/_private_profile', :status => 403
  188 + render :template => 'profile/_private_profile', :status => 403, :formats => [:html]
189 189 allowed = false
190 190 else #if !profile.visible?
191 191 render_access_denied
... ...