Sha256: 357772f557975d4c5a29adbd62b775ea0a8b8f66a94d523f2cc53aae58b8d8a9
Contents?: true
Size: 539 Bytes
Versions: 9
Compression:
Stored size: 539 Bytes
Contents
<%# # Sidebar This partial is used to display the sidebar in Administrate. By default, the sidebar contains navigation links for all resources in the admin dashboard, as defined by the routes in the `admin/` namespace %> <ul class="sidebar__list"> <% Administrate::Namespace.new(namespace).resources.each do |resource| %> <li> <%= link_to( display_resource_name(resource), [namespace, resource], class: "sidebar__link sidebar__link--#{nav_link_state(resource)}" ) %> </li> <% end %> </ul>
Version data entries
9 entries across 9 versions & 1 rubygems