session creation
This commit is contained in:
parent
0b2bd70f16
commit
f8093d2c09
9 changed files with 63 additions and 3 deletions
|
@ -1,3 +1,6 @@
|
|||
<h1>Welcome</h1>
|
||||
<% if logged_in? %>
|
||||
<h1>You are Logged In, <%= current_user.username %></h1>
|
||||
<%end%>
|
||||
<%= button_to "Login", '/login', method: :get%>
|
||||
<%= button_to "Sign Up", '/users/new', method: :get%>
|
Loading…
Add table
Add a link
Reference in a new issue