fix syntax error
This commit is contained in:
parent
358fdb9521
commit
91a96adb4b
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue