the inbox entries are not new anymore ;_;
This commit is contained in:
parent
484c8d9b65
commit
5b1116e129
|
@ -3,5 +3,6 @@ class InboxController < ApplicationController
|
||||||
|
|
||||||
def show
|
def show
|
||||||
@inbox = Inbox.where(user: current_user).order(:created_at).reverse_order
|
@inbox = Inbox.where(user: current_user).order(:created_at).reverse_order
|
||||||
|
@inbox.update_all(new: false)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue