noosfero | Improve some blocks in order to make redeoceb theme responsive. (!1428)

Rodrigo Souto gitlab at mg.gitlab.com
Thu Apr 19 16:42:02 BRT 2018


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

> +<%
> +    args = {}
> +    args[:profile] = profile if (defined?(profile) && !profile.kind_of?(Environment))

This is very weird: `profile.kind_of?(Environment))`

If we need to do this check either the name of variable is wrong or this code is.

---
Reply to this email directly or view it on GitLab: https://gitlab.com/noosfero/noosfero/merge_requests/1428#note_69367841
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/20180419/093ac01a/attachment.html>


More information about the Noosfero-dev mailing list