noosfero | Fix the load picture on new template (!1266)

antoniocoj gitlab at mg.gitlab.com
Thu Jul 6 15:16:19 BRT 2017


antoniocoj commented on a discussion on app/models/profile.rb:

>    end
>  
>    #FIXME make this test
> -  def profile_custom_image(size = :icon)
> -    image_path = profile_custom_icon if size == :icon
> -    image_path ||= image.public_filename(size) if image.present?
> -    image_path
> -  end
> +   def profile_custom_image(size = :icon)

Done @diguliu

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


More information about the Noosfero-dev mailing list