lib/ids_please/vkontakte.rb in ids_please-1.1.3 vs lib/ids_please/vkontakte.rb in ids_please-1.1.4
- old
+ new
@@ -13,10 +13,10 @@
def parse_link(link)
if link.path =~ /id|club|public/
id = link.path.sub(/\A\/id|\A\/club|\A\/public/, '')
id.split(/[\/\?#]/).first
else
- link.path.split('/')[1]
+ super
end
end
end
end