Sha256: 3054713b8ea498b083439cf7ea18ab9076e650f55cf6f25fde19ca5795ffbc98
Contents?: true
Size: 561 Bytes
Versions: 7
Compression:
Stored size: 561 Bytes
Contents
module AbstractInterface module ControllerHelper def current_theme @current_theme ||= AbstractInterface::Theme.new end # TODO1 # def build_layout layout = nil # # Configuring # current_theme.layout = layout # # # Rendering # current_theme.layout_definition['slots'].each do |slot_name, slots| # slots = Array(slots) # slots.each do |partial| # content_for slot_name do # render :partial => partial # end # end # end # end end end
Version data entries
7 entries across 7 versions & 2 rubygems