fix error
This commit is contained in:
parent
39dda02650
commit
ada0c0642d
|
@ -89,7 +89,7 @@ class AdImage
|
||||||
protected
|
protected
|
||||||
|
|
||||||
def add_http
|
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
|
self.out_link = 'http://' + self.out_link
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue