Put inc/ajax_setting in new_admin

Fix callback for link on save
This commit is contained in:
Christophe Vilayphiou committed 2012-05-22 16:11:00 +08:00
1 parent ef72a2330c
commit d0b030c47d
4 files changed
+6 -2

No files matched your search

+1 -1
View File
@@ -13,7 +13,7 @@ class Link < Item
protected
def add_http
unless self.url[/^http?s:\/\//]
unless self.url[/^http:\/\//] || self.url[/^https:\/\//]
self.url = 'http://' + self.url
end
end