mirror of
https://github.com/Retrospring/retrospring.git
synced 2025-04-01 00:22:15 +02:00
8 lines
216 B
Ruby
8 lines
216 B
Ruby
class InboxController < ApplicationController
|
|
before_filter :authenticate_user!
|
|
|
|
def show
|
|
@inbox = Inbox.where(user: current_user).order(:created_at).reverse_order
|
|
@inbox.update_all(new: false)
|
|
end
|
|
end
|