noosfero | 2 new commits pushed to repository
Bráulio Bhavamitra
gitlab at gitlab.com
Thu Feb 26 11:25:31 BRT 2015
Bráulio Bhavamitra pushed to refs/heads/master at <a href="https://gitlab.com/noosfero/noosfero">Noosfero / noosfero</a>
Commits:
<a href="https://gitlab.com/noosfero/noosfero/commit/60b19a8f186ccb9f78ecc895b4a5339f00bc4636">60b19a8f</a> by Gabriela Navarro
Change the template that is shown when the profile is private
Signed-off-by: Arthur Del Esposte <arthurmde at gmail.com>
Signed_off_by: Gabriela Navarro <navarro1703 at gmail.com>
- - - - -
<a href="https://gitlab.com/noosfero/noosfero/commit/9ca1e5521e298df3be2cfeca57a49d98fe6e3dfe">9ca1e552</a> by Bráulio Bhavamitra
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
- - - - -
Changes:
=====================================
app/controllers/public_controller.rb
=====================================
--- a/app/controllers/public_controller.rb
+++ b/app/controllers/public_controller.rb
@@ -13,7 +13,7 @@ class PublicController < ApplicationController
def private_profile
private_profile_partial_parameters
- render :template => 'shared/access_denied.html.erb', :status => 403
+ render :template => 'profile/_private_profile', :status => 403, :formats => [:html]
end
def invisible_profile
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listas.softwarelivre.org/pipermail/noosfero-dev/attachments/20150226/1a004544/attachment.html>
More information about the Noosfero-dev
mailing list