Challenge Solution: Dislike Links
The solution to the Dislike Links challenge.
We'll cover the following...
Solution
//= link_tree ../images //= link_directory ../javascripts .js //= link_directory ../stylesheets .css
Explanation
app/controllers/links_controller.rb
Line 52-60: The dislike
action is almost identical to the like
action. The only difference is in the acts_as_votable
methods that we ...