From ef15cddf191d897249a33308971dcb57eebbeb3e Mon Sep 17 00:00:00 2001 From: ilya Date: Wed, 18 Aug 2010 18:13:17 -0700 Subject: [PATCH] RS, IZ a slash --- 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 db0caaa82..bedcdc143 100644 --- a/app/models/photo.rb +++ b/app/models/photo.rb @@ -38,7 +38,7 @@ class Photo < Post end def remote_photo - image.url.nil? ? (remote_photo_path + remote_photo_name) : image.url + image.url.nil? ? (remote_photo_path + '/' + remote_photo_name) : image.url end def remote_photo= remote_path