summaryrefslogtreecommitdiff
path: root/app/views/layouts/_topnav.html.erb
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/layouts/_topnav.html.erb')
-rw-r--r--app/views/layouts/_topnav.html.erb3
1 files changed, 3 insertions, 0 deletions
diff --git a/app/views/layouts/_topnav.html.erb b/app/views/layouts/_topnav.html.erb
index f93ed99..1131b3e 100644
--- a/app/views/layouts/_topnav.html.erb
+++ b/app/views/layouts/_topnav.html.erb
@@ -1,5 +1,8 @@
<nav id="top">
<ul>
<li><%= link_to "Accueil", root_path %></li>
+ <%# if current_user.admin? %>
+ <!-- <li><%= link_to "Admin", admin_dashboard_path %></li> -->
+ <%# end %>
</ul>
</nav>
Copyright 2019--2025 Marius PETER