Class: LWS::CorporateWebsite::Page

Inherits:
Generic::Model show all
Defined in:
lib/lws/apps/corporate_website.rb

Overview

The page class

Instance Attribute Summary collapse

Attributes inherited from Generic::Model

#created_at, #updated_at, #url, #url_html

Method Summary

Methods inherited from Generic::Model

#reload, #rollback, #save

Instance Attribute Details

#articlesArray<Article>



137
138
# File 'lib/lws/apps/corporate_website.rb', line 137

has_many :articles,
uri: "pages/:page_id/articles(/:id)"

#idString (readonly)



166
# File 'lib/lws/apps/corporate_website.rb', line 166

attribute :slug

#languageString



142
# File 'lib/lws/apps/corporate_website.rb', line 142

attribute :language


146
# File 'lib/lws/apps/corporate_website.rb', line 146

attribute :menu_kind


150
# File 'lib/lws/apps/corporate_website.rb', line 150

attribute :menu_name

#newsBoolean?



154
# File 'lib/lws/apps/corporate_website.rb', line 154

attribute :news

#orderInteger



158
# File 'lib/lws/apps/corporate_website.rb', line 158

attribute :order

#sitemapBoolean



162
# File 'lib/lws/apps/corporate_website.rb', line 162

attribute :sitemap


170
# File 'lib/lws/apps/corporate_website.rb', line 170

attribute :youtube_link