Class: Landable::Category
- Inherits:
-
ActiveRecord::Base
- Object
- ActiveRecord::Base
- Landable::Category
- Includes:
- TableName
- Defined in:
- app/models/landable/category.rb
Instance Method Summary collapse
Instance Method Details
#to_liquid ⇒ Object
12 13 14 15 16 17 |
# File 'app/models/landable/category.rb', line 12 def to_liquid { 'name' => name, 'pages' => pages.published, } end |