We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8e05ccc commit c5bf8f0Copy full SHA for c5bf8f0
hearting_tweets.md
@@ -52,7 +52,7 @@ We would also like to allow the user to heart something when they are looking at
52
<% @user.tweets.each do |tweet| %>
53
<li>
54
<%= tweet.content %> at <%= tweet.date %> with <%= tweet.hearts.count %> hearts
55
- <form method="POST" action="/heart">
+ <form method="POST" action="/hearts">
56
<p>Your Email: <input type="email" name="email" required=true></p>
57
<input type="hidden" name="tweet_id" value="<%= tweet.id %>">
58
<input type="submit" value="Heart">
0 commit comments