From 91a96adb4bfcf694f32ef523fb965537afbfb269 Mon Sep 17 00:00:00 2001 From: maxwell Date: Fri, 18 Mar 2011 18:15:57 -0700 Subject: [PATCH] fix syntax error --- app/models/photo.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/models/photo.rb b/app/models/photo.rb index 9d4aa0cdb..9564f3960 100644 --- a/app/models/photo.rb +++ b/app/models/photo.rb @@ -68,7 +68,7 @@ class Photo < Post def url(name = nil) if self.image.path.include? '.gif' image.url - if remote_photo_path + elsif remote_photo_path name = name.to_s + '_' if name remote_photo_path + name.to_s + remote_photo_name else