yooo this is sick
This commit is contained in:
@@ -1,3 +1,12 @@
|
||||
<% if logged_in? %>
|
||||
<p>Logged in as <%= current_user.username %></p>
|
||||
<p><%= link_to "Log out", logout_path, data: {
|
||||
turbo_method: :delete
|
||||
} %></p>
|
||||
<% else %>
|
||||
<p><%= link_to "Log in", login_path %> or <%= link_to "Sign up", signup_path %></p>
|
||||
<% end %>
|
||||
|
||||
<h1>Articles!</h1>
|
||||
|
||||
Our blog has <%= Article.public_count %> articles and counting!
|
||||
|
||||
Reference in New Issue
Block a user