Use rails helpers in gallery index