Class: MegaBar::MasterLayoutSectionsController

Inherits:
ActionController::Base
  • Object
show all
Defined in:
app/controllers/mega_bar/master_layout_sections_controller.rb

Instance Method Summary collapse

Instance Method Details

#render_layout_section_adminObject



10
11
12
# File 'app/controllers/mega_bar/master_layout_sections_controller.rb', line 10

def render_layout_section_admin
  render 'render_layout_section_admin'
end

#render_layout_section_with_blocksObject



3
4
5
6
7
8
9
# File 'app/controllers/mega_bar/master_layout_sections_controller.rb', line 3

def render_layout_section_with_blocks
  @blocks = env['mega_final_blocks']
  @mega_layout_section = env[:mega_layout_section]
  @mega_layout = env[:mega_layout]
  @mega_page = env[:mega_page]
  render
end