Multiple ajax calls fixed

This commit is contained in:
Gopesh Tulsyan 2014-06-30 20:32:34 +05:30
parent 220e816155
commit 1244f937e6
8 changed files with 18 additions and 7 deletions

View file

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