Sha256: 64ed16127591b3d4e9d5967db46cfe8cd151a9686db81b4a1250c9294e2835fc
Contents?: true
Size: 540 Bytes
Versions: 1
Compression:
Stored size: 540 Bytes
Contents
<%# # Navigation This partial is used to display the navigation in Administrate. By default, the navigation contains navigation links for all resources in the admin dashboard, as defined by the routes in the `admin/` namespace %> <% Administrate::Namespace.new(namespace).index_resources.each do |resource| %> <%= link_to( [namespace, resource_index_route_key(resource)], class: "nav-drawer__menu-item nav-drawer__menu-item--#{nav_link_state(resource)}" ) do %> <%= display_resource_name(resource) %> <% end %> <% end %>
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
semantic-administrate-0.10.1 | app/views/administrate/application/_navigation_links.html.erb |