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