Class: PagePart

Inherits:
ActiveRecord::Base
  • Object
show all
Defined in:
app/models/page_part.rb

Instance Method Summary collapse

Instance Method Details

#after_initializeObject



17
18
19
# File 'app/models/page_part.rb', line 17

def after_initialize
  self.filter_id ||= Radiant::Config['defaults.page.filter'] if new_record?
end