yooo this is sick

This commit is contained in:
2024-08-08 11:19:44 +02:00
parent ffc09cabc4
commit aa0811e25d
22 changed files with 226 additions and 33 deletions

View File

@@ -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!