Sha256: 3231577c7a9819becf1baf4607c5fc5acef345438f7dd07834223b5a86820050

Contents?: true

Size: 535 Bytes

Versions: 5

Compression:

Stored size: 535 Bytes

Contents

<h1 id='logo'>
  <%= link_to RefinerySetting.find_or_set(:site_name, "Company Name"), root_path %>
</h1>
<%=
  ::Fiber.new {
    ::Fiber.yield(
      render(:partial => "/shared/menu", :locals => {
               :dom_id => 'menu',
               :css => 'menu',
               :roots => @menu_pages.where(:parent_id => @site.try(:page_id)),
               :collection => @menu_pages.where(@menu_pages.arel_table[:parent_id].not_eq(nil)),
               :selected_item => (@page if defined?(::Page))
             })
    )
  }.resume %>

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
refinerycms-multisite-0.0.5 app/views/shared/_header.html.erb
refinerycms-multisite-0.0.4 app/views/shared/_header.html.erb
refinerycms-multisite-0.0.3 app/views/shared/_header.html.erb
refinerycms-multisite-0.0.2 app/views/shared/_header.html.erb
refinerycms-multisite-0.0.1 app/views/shared/_header.html.erb