15 16 17
# File 'app/models/page_part.rb', line 15 def after_initialize self.filter_id ||= TrustyCms::Config['defaults.page.filter'] if new_record? end