mirror of
https://github.com/Retrospring/retrospring.git
synced 2025-03-15 18:39:58 +01:00
hnn
This commit is contained in:
parent
8313972b3d
commit
28df95c089
2 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
|
@ -26,4 +26,5 @@
|
|||
|
||||
Nothing to see here.
|
||||
|
||||
= render "shared/links"
|
||||
= render "shared/links"
|
||||
- @inbox.update_all(new: false)
|
Loading…
Reference in a new issue