Class: BlueberryCMS::PagesController::LiquidViewContext

Inherits:
Object
  • Object
show all
Defined in:
app/controllers/blueberry_cms/pages_controller.rb

Instance Method Summary collapse

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_liquidObject



5
# File 'app/controllers/blueberry_cms/pages_controller.rb', line 5

def to_liquid; @context; end