Skip to content

Commit

Permalink
Remove remaining of devise_masquerade
Browse files Browse the repository at this point in the history
  • Loading branch information
cesc1989 committed Feb 23, 2024
1 parent 006b620 commit 109c747
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions app/views/shared/_navbar.html.erb
Original file line number Diff line number Diff line change
@@ -1,10 +1,3 @@
<% if user_masquerade? %>
<div class="alert alert-warning text-center">
You're logged in as <b><%= current_user.name %> (<%= current_user.email %>)</b>
<%= link_to back_masquerade_path(current_user) do %><%= icon("fas", "times") %> Logout <% end %>
</div>
<% end %>

<nav class="navbar navbar-expand-md navbar-light bg-light">
<div class="container">
<%= link_to Rails.configuration.application_name, root_path, class: "navbar-brand" %>
Expand Down

0 comments on commit 109c747

Please sign in to comment.