noosfero | WIP: Removes settings_item default value translation (!1089)
Rodrigo Souto
gitlab at mg.gitlab.com
Thu Jan 19 09:55:48 BRST 2017
New comment for Merge Request !1089:
https://gitlab.com/noosfero/noosfero/merge_requests/1089#note_21665970
@gabrielssilva, let's not mess with this acts_as_having_settings. I think it's better to convert this field to an integer. We can have some constants to make it easier to identify in the code what each value means and also define their labels with translation just like we do with the module `Task::Status`. Take a look at `app/models/task.rb`.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listas.softwarelivre.org/pipermail/noosfero-dev/attachments/20170119/d22d2daf/attachment.html>
More information about the Noosfero-dev
mailing list