Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Add a specific width/height to the main images.

Dribbble now supports @2x images so we have to resize them manually.
  • Loading branch information...
commit c8613d7874170d5a674e8aeada992f9b3fc2828d 1 parent fca7cb1
@twe4ked authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  app/views/shots/index.html.haml
View
2  app/views/shots/index.html.haml
@@ -1,2 +1,2 @@
- @shots.each do |shot|
- %li= link_to (image_tag shot.image_url), shot.url, :title => shot.player.name
+ %li= link_to image_tag(shot.image_url, :width => 400, :height => 300), shot.url, :title => shot.player.name
Please sign in to comment.
Something went wrong with that request. Please try again.