refinery/refinerycms

View on GitHub
core/app/views/refinery/_header.html.erb

Summary

Maintainability
Test Coverage
<%= content_tag :div, id: "logo", itemscope: "",  itemtype: "http://schema.org/Organization" do %>
  <%= link_to refinery.root_path, itemprop: "url" do %>
    <%= Refinery::Core.site_name %>
  <% end %>
<% end %>

<% cache [I18n.locale, 'main_menu', @page, Refinery::Page.fast_menu.map(&:updated_at).max] do %>
  <%=
    main_menu = Refinery::Pages::MenuPresenter.new(refinery_menu_pages, self)
    main_menu.menu_role = 'navigation'
    main_menu.to_html
  %>
<% end %>