Class: BlueberryCMS::PagesController::LiquidViewContext
- Inherits:
-
Object
- Object
- BlueberryCMS::PagesController::LiquidViewContext
- Defined in:
- app/controllers/blueberry_cms/pages_controller.rb
Instance Method Summary collapse
-
#initialize(context) ⇒ LiquidViewContext
constructor
A new instance of LiquidViewContext.
- #to_liquid ⇒ Object
Constructor Details
#initialize(context) ⇒ LiquidViewContext
Returns a new instance of LiquidViewContext.
4 |
# File 'app/controllers/blueberry_cms/pages_controller.rb', line 4 def initialize(context); @context = context; end |
Instance Method Details
#to_liquid ⇒ Object
5 |
# File 'app/controllers/blueberry_cms/pages_controller.rb', line 5 def to_liquid; @context; end |