FEATURE: allow title overridable

This commit is contained in:
Sam
2014-07-30 08:46:46 +10:00
parent 367d699247
commit ebf385aedc
3 changed files with 6 additions and 2 deletions

View File

@@ -213,6 +213,10 @@ SQL
self.name ||= val
end
def default_allow_title=(val)
self.allow_title ||= val
end
def default_badge_grouping_id=(val)
# allow to correct orphans
if !self.badge_grouping_id || self.badge_grouping_id < 0