noosfero | Change wellcome user link to the homepage instead profile page (!1255)

Rodrigo Souto gitlab at mg.gitlab.com
Thu Jun 29 14:18:53 BRT 2017


Rodrigo Souto started a new discussion on app/views/blocks/login.html.erb:

>      <h2><%= _('Logged in as %s') % user.identifier %></h2>
>      <ul>
>        <li><%= _('User since %s/%s') % [user.created_at.month, user.created_at.year] %></li>
> -      <li><%= link_to _('Homepage'), url_for(user.public_profile_url) %></li>
> +      <li><%= link_to _('Homepage'), @environment.top_url + "/#{user.identifier}" %></li>

You forgot to change it here as well.

---
Reply to this email directly or view it on GitLab: https://gitlab.com/noosfero/noosfero/merge_requests/1255#note_33815680
You're receiving this email because of your account on gitlab.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listas.softwarelivre.org/pipermail/noosfero-dev/attachments/20170629/51e724a0/attachment.html>


More information about the Noosfero-dev mailing list