summaryrefslogtreecommitdiff
path: root/app/views/layouts/_topnav.html.erb
diff options
context:
space:
mode:
authorMarius Peter <marius.peter@tutanota.com>2024-12-31 19:24:40 +0100
committerMarius Peter <marius.peter@tutanota.com>2024-12-31 19:24:40 +0100
commitfe5c5b24c462243fcb7c13b3f380378d8935fba2 (patch)
tree0305a6deee63ec0dbf6405e7b89fb0329cabf964 /app/views/layouts/_topnav.html.erb
parent5286e295a5ba141a547475e2c555335d4297fdcb (diff)
Updated views.
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