Skip to content

Commit

Permalink
ordering belongs into the controller
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael Stämpfli committed Sep 11, 2012
1 parent 0cf7153 commit 3550e16
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/views/gifs/index.html.haml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

- unless @gifs.empty?
%ul#gif-list
- @gifs.reverse_each do |gif|
- @gifs.each do |gif|
%li= image_tag(gif, alt: gif.source_url, title: gif.tags.to_sentence)
- else
%p No GIFs to show.

0 comments on commit 3550e16

Please sign in to comment.