noosfero | Helper application (!1271)
Rodrigo Souto
gitlab at mg.gitlab.com
Thu Jul 6 15:59:14 BRT 2017
Rodrigo Souto started a new discussion on app/helpers/application_helper.rb:
> ") : '')
> end
>
> + def mount_url(action, filter)
> + host = environment.default_hostname
> + url = {:href => url_for({host: host, controller: 'search', action: action, filter: filter})}
If you are just returning the hash, there is no need to assign it to the `url` variable.
---
Reply to this email directly or view it on GitLab: https://gitlab.com/noosfero/noosfero/merge_requests/1271#note_34373631
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/b65ba311/attachment-0001.html>
More information about the Noosfero-dev
mailing list