2014-11-11 07:10:41 +01:00
|
|
|
class InboxController < ApplicationController
|
2014-11-11 19:53:25 +01:00
|
|
|
before_filter :authenticate_user!
|
|
|
|
|
2014-11-11 07:10:41 +01:00
|
|
|
def show
|
|
|
|
@inbox = Inbox.where(user: current_user).order(:created_at).reverse_order
|
|
|
|
end
|
|
|
|
end
|