Gallery initiated

This commit is contained in:
Gopesh Tulsyan 2014-06-30 19:24:26 +05:30
parent ef4aed5df0
commit 220e816155
7 changed files with 47 additions and 1 deletions

View file

@ -0,0 +1,3 @@
- photos.each_with_index do |photo,index|
%div.item{ class: (index==0? 'active' : '') }
= image_tag(photo.picture)