noosfero | Helper application (!1271)

Rodrigo Souto gitlab at mg.gitlab.com
Thu Jul 6 15:59:23 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})}
> +  end
> +
> +  def mount_link(controller)
> +    public_link = {:href => url_for({:profile => current_user.login, :controller => controller})}

Same as above.

---
Reply to this email directly or view it on GitLab: https://gitlab.com/noosfero/noosfero/merge_requests/1271#note_34373649
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/2527fa57/attachment.html>


More information about the Noosfero-dev mailing list