Sha256: c8a1bbede32c11c4e32a3871a7a988c60df82b3e933a593b64009a7bdc30c927

Contents?: true

Size: 571 Bytes

Versions: 1

Compression:

Stored size: 571 Bytes

Contents

<%= render_component :sidebar do %>
  <%= render_component :sidebar_menu do %>
    <%= render_component :sidebar_menu_item, name: "Dashboard", value: root_path %>

    <% resource_items = registered_resources.map { |resource| [resource.model_name.human.pluralize, resource_url_for(resource, parent: nil)] } %>
    <%= render_component :sidebar_menu_item, name: "Resources", value: resource_items %>
  <% end %>

  <%#= render_component :sidebar_menu, separated: true do %>
    <%#= render_component :sidebar_menu_item, name: "Docs", value: "/" %>
  <%# end %>
<% end  %>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
plutonium-0.8.0 app/views/application/_resource_sidebar.html.erb