Sha256: 22658a7944679a1272cf67295af1a753000db65a283f7505ec1e9e5f0198ea23
Contents?: true
Size: 361 Bytes
Versions: 2
Compression:
Stored size: 361 Bytes
Contents
module MegaBar class MasterLayoutsController < ActionController::Base def render_layout_with_sections @mega_layout_sections ||= env['mega_final_layout_sections'] @mega_layout ||= env[:mega_layout] @mega_page = env[:mega_page] template = Template.find(@mega_layout[:template_id]) render template.code_name end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
mega_bar-0.5.2 | app/controllers/mega_bar/master_layouts_controller.rb |
mega_bar-0.5.1 | app/controllers/mega_bar/master_layouts_controller.rb |