rename username to email
This commit is contained in:
parent
7412853a3e
commit
cd40ef66c6
9 changed files with 18 additions and 13 deletions
|
@ -1,6 +1,6 @@
|
|||
<h1>Welcome</h1>
|
||||
<% if logged_in? %>
|
||||
<h1>You are Logged In, <%= current_user.username %></h1>
|
||||
<h1>You are Logged In, <%= current_user.email %></h1>
|
||||
<%= button_to "Logout", '/logout', method: :get%>
|
||||
<%else%>
|
||||
<%= button_to "Login", '/login', method: :get%>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue