9c7146820c
Sessions helper methods, login and signup modals, load partial views with stimulus Situmuls usersController, Create and Destroy user sessions
4 lines
139 B
Plaintext
4 lines
139 B
Plaintext
<% if logged_in? %>
|
|
<h1>You are Logged In, <%= @current_user.username %></h1>
|
|
<%= button_to "Logout", '/logout', method: :post %>
|
|
<%end%> |