fix error
This commit is contained in:
parent
39dda02650
commit
ada0c0642d
|
@ -89,7 +89,7 @@ class AdImage
|
|||
protected
|
||||
|
||||
def add_http
|
||||
unless self.out_link.blank? || self.out_link[/^http:\/\//] || self.out_link[/^https:\/\//]
|
||||
unless self.out_link.blank? || self.out_link[/^http:\/\//] || self.out_link[/^https:\/\//] || self.out_link[/^\//]
|
||||
self.out_link = 'http://' + self.out_link
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue