<%#
# 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
%>

<% if action_name == "show" || action_name == "edit" %>
  <nav class="navigation" role="navigation">
    <% Administrate::Namespace.new(namespace).resources.each do |resource| %>
      <%= link_to(
        display_resource_name(resource),
        [namespace, resource.path],
        class: "navigation__link navigation__link--#{nav_link_state(resource)}"
      ) %>
    <% end %>
  </nav>
<% end %>

<%#
# 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
%>

<% if action_name == "show" || action_name == "edit" %>
  <nav class="navigation" role="navigation">
    <% Administrate::Namespace.new(namespace).resources.each do |resource| %>
      <% next unless resource.name == :educators %>
      <%= link_to(
        display_resource_name(resource),
        [namespace, resource.path],
        class: "navigation__link navigation__link--#{nav_link_state(resource)}"
      ) %>
    <% end %>
  </nav>
<% end %>

Update administrate partial so it's only about educator model
Update administrate partial so it's only about educator model
