diff --git a/app/views/users/_tabs.html.erb b/app/views/users/_tabs.html.erb index 2046568ffe4c46c1722f40305e9864d7d58d7e65..72d8875b08e4e542819e39b06517ac1431ab7353 100644 --- a/app/views/users/_tabs.html.erb +++ b/app/views/users/_tabs.html.erb @@ -2,6 +2,9 @@ <%= link_to user_path(user), class: "tabs--item #{current_page?(user_path(user)) ? 'is-active' : ''}" do %> <i class="fas fa-user"></i> Profile <% end %> + <%= link_to user_awarded_badges_path(user), class: "tabs--item #{current_page?(user_awarded_badges_path(user)) ? 'is-active' : ''}" do %> + Awarded Badges + <% end %> <%= link_to user_activity_path(user), class: "tabs--item #{current_page?(user_activity_path(user)) ? 'is-active' : ''}" do %> Activity <% end %> @@ -18,9 +21,6 @@ <%= link_to user_preferences_path, class: "tabs--item #{current_page?(user_preferences_path) ? 'is-active' : ''}" do %> Preferences <% end %> - <%= link_to user_awarded_badges_path(user), class: "tabs--item #{current_page?(user_awarded_badges_path(user)) ? 'is-active' : ''}" do %> - Awarded Badges - <% end %> <%= link_to user_consent_path, class: "tabs--item #{current_page?(user_consent_path) ? 'is-active' : ''}" do %> Consent <% end %>