10 lines
502 B
Plaintext
10 lines
502 B
Plaintext
<nav aria-label="Admin Menu">
|
|
<%= link_to("Users", admin_users_url) if policy(User).index? %>
|
|
<% #= link_to("Departments", admin_departments_url) if policy(Department).index? %>
|
|
<%= link_to("Quizzes", admin_quizzes_url) if policy(Quiz).index? %>
|
|
<%= link_to("Candidates", admin_candidates_url) if policy(Candidate).index? %>
|
|
<%= link_to("Results", admin_results_url) if policy(Quiz).index? %>
|
|
<%= link_to("Profile", admin_profile_url) %>
|
|
<%= link_to("Logout", admin_logout_url) %>
|
|
</nav>
|