docbrown/app/views/admin/shared/_navbar.html.erb
Josh Puetz 1c566e0ec4
[deploy] Move /internal to `/admin (#9639)
* First draft - all the big changes

* Changing some more references to 'internal'

* Relocate internal request tests to admin

* Relocate internal system tests to admin

* Fix trailing space

* Test fix

* Move queries from internal to admin

* Docs updates

* Rename internal stimuls controllers to admin (plus docs)

* Rename admin layout

* Fix routing after rebase

* Fixes for latest added admin interfaces

* Serviceworker ignore paths
2020-08-07 10:36:26 -04:00

5 lines
295 B
Text

<div class="mt-4">
<% Admin::ApplicationController::MENU_ITEMS.each do |menu_item| %>
<a class="sidebar-nav-item px-2 <%= "active" if request.path.include?(menu_item[:controller]) %>" href="/admin/<%= menu_item[:controller] %>"><%= menu_item[:name].to_s.titleize %></a>
<% end %>
</div>