|
|
@ -17,6 +17,11 @@
|
|
|
|
<li class="nav-item">
|
|
|
|
<li class="nav-item">
|
|
|
|
<%= link_to current_user.name, current_user %>
|
|
|
|
<%= link_to current_user.name, current_user %>
|
|
|
|
</li>
|
|
|
|
</li>
|
|
|
|
|
|
|
|
<li>
|
|
|
|
|
|
|
|
<%= link_to "Sign Out", session_path,
|
|
|
|
|
|
|
|
data: { turbo_method: :delete },
|
|
|
|
|
|
|
|
class: "button" %>
|
|
|
|
|
|
|
|
</li>
|
|
|
|
<% else %>
|
|
|
|
<% else %>
|
|
|
|
<li class="nav-item">
|
|
|
|
<li class="nav-item">
|
|
|
|
<%= link_to "Sign In", new_session_path, class: "nav-link" %>
|
|
|
|
<%= link_to "Sign In", new_session_path, class: "nav-link" %>
|
|
|
|