Class: ActiveAdmin::Views::HeaderRenderer

Inherits:
Renderer show all
Defined in:
lib/active_admin/views/header_renderer.rb

Overview

Renderer for the header of the application. Includes the page title, global navigation and utility navigation.

Constant Summary

Constants included from Arbre::HTML

Arbre::HTML::AUTO_BUILD_ELEMENTS, Arbre::HTML::HTML5_ELEMENTS

Instance Attribute Summary

Attributes inherited from Renderer

#assigns, #view

Instance Method Summary collapse

Methods inherited from Renderer

#haml, #initialize, #method_missing, #to_s

Methods included from Arbre::HTML

#current_dom_context, #helpers, #method_missing

Methods included from ActiveAdmin::ViewHelpers::RendererHelper

#render

Constructor Details

This class inherits a constructor from ActiveAdmin::Renderer

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class ActiveAdmin::Renderer

Instance Method Details

#to_htmlObject



8
9
10
# File 'lib/active_admin/views/header_renderer.rb', line 8

def to_html
  title + global_navigation + utility_navigation
end