Skip to content

Commit

Permalink
chore: home/dashboard link
Browse files Browse the repository at this point in the history
  • Loading branch information
kjellberg committed Jun 6, 2024
1 parent 691bf31 commit 3b22552
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion gems/kiqr/app/views/kiqr/partials/_navbar.html.erb
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<ul>
<li><%= link_to "Dashboard", root_path %></li>
<% if user_signed_in? %>
<li><%= link_to "Dashboard", dashboard_path %></li>
<% if onboarded? && current_account.team? %>
<li><%= link_to "Team profile", edit_account_path %></li>
<li><%= link_to "Team members", account_users_path %></li>
Expand All @@ -10,5 +10,7 @@
<li><%= link_to "Two-factor authentication", edit_two_factor_path %></li>
<li><%= link_to "Switch account", select_account_path %></li>
<li><%= button_to "Sign out", destroy_user_session_path, method: :delete %></li>
<% else %>
<li><%= link_to "Home", root_path %></li>
<% end %>
</ul>

0 comments on commit 3b22552

Please sign in to comment.