lib/relevance/tarantula/link.rb in codez-tarantula-0.5.1 vs lib/relevance/tarantula/link.rb in codez-tarantula-0.5.3
- old
+ new
@@ -1,5 +1,7 @@
+require 'action_view'
+
module Relevance
module Tarantula
class Link
include Relevance::Tarantula
@@ -74,10 +76,10 @@
@tag['data-method'] == m
end) ||
'get'
end
end
-
+
def url
href
end
def transform_url(link)