noosfero | Principles clean code (!1268)

Rodrigo Souto gitlab at mg.gitlab.com
Thu Jul 6 15:44:29 BRT 2017


Rodrigo Souto started a new discussion on app/controllers/my_profile/cms_controller.rb:

>        if yield(c, user, profile)
>          true
>        else
> -        render_access_denied(c)
> +        render_access_denied("You do not have access to #{c.request.path_info}")

This looks like a leftover from another code.

---
Reply to this email directly or view it on GitLab: https://gitlab.com/noosfero/noosfero/merge_requests/1268#note_34371421
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/20170706/e8593031/attachment-0001.html>


More information about the Noosfero-dev mailing list