retina_image_tag 0.0.6 → 0.0.7
Sign up to get free protection for your applications and to get access to all the features.
@@ -3,7 +3,8 @@ module RetinaImageTag
|
|
3
3
|
|
4
4
|
|
5
5
|
def retina_image( pixel_ratio )
|
6
|
-
|
6
|
+
@retina_image_path = image_path(@file_name+"@#{pixel_ratio}x"+@file_ext)
|
7
|
+
image_tag(@retina_image_path, @options)
|
7
8
|
end
|
8
9
|
|
9
10
|
|