Commit 9ca1e5521e298df3be2cfeca57a49d98fe6e3dfe

Authored by Braulio Bhavamitra
2 parents cf00ed96 60b19a8f

Merge branch 'fix_private_template' into 'master'

Fix private template

This patch fix some cucumber tests(private_profile.feature). The template displayed for profiles internal pages was wrong(access_denied). We just changed for the correct one(private_profile).

See merge request !480
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
... ...