Fix for thread resolve service and process feed service url method
This commit is contained in:
parent
2f21f4cc01
commit
cff0b03cbb
2 changed files with 6 additions and 2 deletions
|
@ -175,8 +175,7 @@ class ProcessFeedService < BaseService
|
|||
|
||||
def url(xml = @xml)
|
||||
link = xml.at_xpath('./xmlns:link[@rel="alternate"]')
|
||||
link['href'] unless link.nil?
|
||||
nil
|
||||
link.nil? ? nil : link['href']
|
||||
end
|
||||
|
||||
def content(xml = @xml)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue