19 20 21
# File 'app/models/page_part.rb', line 19 def set_default_filter self.filter_id ||= Radiant::Config['defaults.page.filter'] if new_record? end