This commit is contained in:
nilsding 2014-11-30 21:08:00 +01:00
parent 8313972b3d
commit 28df95c089
2 changed files with 2 additions and 2 deletions

View File

@ -3,6 +3,5 @@ class InboxController < ApplicationController
def show
@inbox = Inbox.where(user: current_user).order(:created_at).reverse_order
@inbox.update_all(new: false)
end
end

View File

@ -26,4 +26,5 @@
Nothing to see here.
= render "shared/links"
= render "shared/links"
- @inbox.update_all(new: false)