mirror of
https://github.com/Retrospring/retrospring.git
synced 2025-03-20 19:50:00 +01:00
Merge branch 'master' of git.rrerr.net:nilsding/justask
This commit is contained in:
commit
8313972b3d
1 changed files with 1 additions and 0 deletions
|
@ -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 a new issue