hnn
This commit is contained in:
parent
8313972b3d
commit
28df95c089
|
@ -3,6 +3,5 @@ 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
|
||||||
|
|
|
@ -26,4 +26,5 @@
|
||||||
|
|
||||||
Nothing to see here.
|
Nothing to see here.
|
||||||
|
|
||||||
= render "shared/links"
|
= render "shared/links"
|
||||||
|
- @inbox.update_all(new: false)
|
Loading…
Reference in New Issue