noosfero | Fix the load picture on new template (!1266)
Rodrigo Souto
gitlab at mg.gitlab.com
Tue Jul 4 16:04:38 BRT 2017
Rodrigo Souto started a new discussion on app/models/profile.rb:
> self.custom_footer = template[:custom_footer]
> self.custom_header = template[:custom_header]
> self.public_profile = template.public_profile
> -
> + self.image = template.image
This feature needs testing. Take a look at `test/unit/profile_test.rb` for tests calling the method `apply_template` and try to do something like them for the image attribute.
---
Reply to this email directly or view it on GitLab: https://gitlab.com/noosfero/noosfero/merge_requests/1266#note_34182746
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/20170704/d9ddb3de/attachment.html>
More information about the Noosfero-dev
mailing list