class GenericObject
Public Instance Methods
set_object_type()
click to toggle source
# File lib/buweb/generic_object.rb, line 31 def set_object_type # Don't overwrite the type if there is no related template. if template_title = presentation_data_template.try(:title) self.type = template_title end end