Skip to content

Commit

Permalink
Merge pull request #3 from matthiaslau/master
Browse files Browse the repository at this point in the history
Use options passed to the responsive image helper for the image_tag
  • Loading branch information
John Koht committed Jan 28, 2014
2 parents 6ea2e9e + efcd930 commit 75b6b01
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/responsive_images/view_helpers.rb
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ def responsive_image_tag image, options={}
# Get the image source
image_src = src_path(image, sizes)
# Return the image tag with our responsive data attributes
return image_tag image_src, data_sizes
return image_tag image_src, data_sizes.merge(options)
end


Expand Down

0 comments on commit 75b6b01

Please sign in to comment.