Finished phase005
This commit is contained in:
@@ -24,6 +24,15 @@
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<% if identified? %>
|
||||
<header>
|
||||
<p>
|
||||
Identified as <%= current_user.name %> (<%= current_user.email %>)
|
||||
<%= button_to "Log out", logout_path, method: :delete %>
|
||||
</p>
|
||||
</header>
|
||||
<% end %>
|
||||
|
||||
<%= yield %>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
Reference in New Issue
Block a user