Permalink
Please sign in to comment.
Browse files
Add upvoted route.
Upvoted route shows all stories a logged in user have upvoted in reverse chronological order, latest upvote first. It is not shown in the gui, but reachable at /upvoted.
- Loading branch information...
Showing
with
50 additions
and 1 deletion.
- +25 −0 app/controllers/home_controller.rb
- +4 −0 app/models/story.rb
- +8 −0 app/models/user.rb
- +3 −0 config/routes.rb
- +10 −1 spec/controllers/home_controller_spec.rb
0 comments on commit
ab8f8f3