• Ralin Chimev's avatar
    Do not change notification timestamp when making it read or unread. · 1773e3e3
    Ralin Chimev authored
    Marking a notification as unread resets the timeago stamp causing
    the times to look wrong. It can be reproduced by marking an old
    notification as unread. Using the update_column instead of
    update_attribute will not touch the updated_at attribute, and
    thus will not affect the updated time ago in the view.
    Fixes #6798.
    closes #6821
notification.rb 3.32 KB