Class: Page

Inherits:
Section
  • Object
show all
Defined in:
app/models/page.rb

Instance Method Summary collapse

Methods inherited from Section

#attributes_protected_by_default, #home?, inherited, #path, #type, type_names

Instance Method Details

#build_default_articleObject


6
7
8
# File 'app/models/page.rb', line 6

def build_default_article
  build_article(:site => site, :title => name)
end