do a bad thing in the helper to get comment links

This commit is contained in:
maxwell 2010-12-16 11:23:57 -08:00
parent 20ca2e2e93
commit f00e0ada78

View file

@ -12,8 +12,8 @@ module NotificationsHelper
link_to translation, aspects_manage_path
when 'status_message'
link_to translation, status_message_path(note.object_id)
when 'commnent'
link_to translation, object_path(note.object_id)
when 'comment'
link_to translation, object_path(Comment.first(object_id).post)
when 'photo'
link_to translation, photo_path(note.object_id)
else