module Cell::ViewModel::Layout::External

Allows using a separate layout cell which will wrap the actual content. Use like cell(…, layout: Cell::Layout)

Note that still allows the `render layout: :application` option.

Constants

Render

Public Instance Methods

call(*) click to toggle source
Calls superclass method
# File lib/cell/layout.rb, line 42
def call(*)
  content = super
  Render.(content, model, @options[:layout], @options)
end