Skip to content

Commit

Permalink
Remove redundant 'rdf' in looks_like_feed?
Browse files Browse the repository at this point in the history
  • Loading branch information
l3kn committed Dec 6, 2014
1 parent a73e98b commit c676218
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/feedbag.rb
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ def find(url, args = {})
end

def looks_like_feed?(url)
if url =~ /(\.(rdf|xml|rdf|rss)$|feed=(rss|atom)|(atom|feed)\/?$)/i
if url =~ /(\.(rdf|xml|rss)$|feed=(rss|atom)|(atom|feed)\/?$)/i
true
else
false
Expand Down

0 comments on commit c676218

Please sign in to comment.