Created
February 7, 2015 16:40
-
-
Save lengshuiyulangcn/8b733273a01d8836e64c to your computer and use it in GitHub Desktop.
use lightbox2 with rails4 on view
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- | |
light box with rails4 | |
!--> | |
<%= link_to image_tag(image.thumb), image.url, :'data-lightbox' => image.id %> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment