Sha256: e041cafb2af62879685ef18faddb6d04e20d1dcf562fa1bd88bbadf5780c6043
Contents?: true
Size: 697 Bytes
Versions: 6
Compression:
Stored size: 697 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 %> <nav class="navigation" role="navigation"> <%= link_to("Back to app", root_url, class: "button button--alt") if defined?(root_url) %> <% Administrate::Namespace.new(namespace).resources_with_index_route.each do |resource| %> <%= link_to( display_resource_name(resource), resource_index_route(resource), class: "navigation__link navigation__link--#{nav_link_state(resource)}" ) if valid_action? :index, resource %> <% end %> </nav>
Version data entries
6 entries across 6 versions & 1 rubygems