#18 open
Sazima

Latest Coments Feed BUG

Reported by Sazima | February 21st, 2009 @ 05:29 PM

latest comments feed:

http://try.lovdbyless.com/latest...

http://try.lovdbyless.com/profil...

=> 404


Just changed the link that goes into the feed:

== latest_comments.rss.builder

xml.link profile_feed_item_url(@profile, c)

    xml.link commentable_link(c)

== feed_items_helper.rb

def commentable_link comment

parent = comment.commentable
if (parent)
  case parent.class.name
  when 'Profile'
    profile_url(parent)
  when 'Blog'
    profile_blog_url(parent.profile, parent)
  end
else
  ""
end

end

Cheers, Sazima

Comments and changes to this ticket

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

People watching this ticket

Pages