Skip to content

Commit c5bf8f0

Browse files
committed
Corrects route for hearts
1 parent 8e05ccc commit c5bf8f0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

hearting_tweets.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ We would also like to allow the user to heart something when they are looking at
5252
<% @user.tweets.each do |tweet| %>
5353
<li>
5454
<%= tweet.content %> at <%= tweet.date %> with <%= tweet.hearts.count %> hearts
55-
<form method="POST" action="/heart">
55+
<form method="POST" action="/hearts">
5656
<p>Your Email: <input type="email" name="email" required=true></p>
5757
<input type="hidden" name="tweet_id" value="<%= tweet.id %>">
5858
<input type="submit" value="Heart">

0 commit comments

Comments
 (0)