photos show spec passes

This commit is contained in:
zhitomirskiyi 2011-01-13 10:19:17 -08:00
parent f807bc25d1
commit 1748827f0a

View file

@ -7,7 +7,7 @@
.span-15.append-1.last
#photo_controls
-if @additional_photos.length > 1
-if @additional_photos && @additional_photos.length > 1
.right
=link_to "← #{t('previous')}", @prev_photo, :rel => 'prefetch', :id => 'photo_show_left'
\/