Retrospring/app/controllers/inbox_controller.rb

8 lines
182 B
Ruby
Raw Normal View History

2014-11-10 22:10:41 -08:00
class InboxController < ApplicationController
before_filter :authenticate_user!
2014-11-10 22:10:41 -08:00
def show
@inbox = Inbox.where(user: current_user).order(:created_at).reverse_order
end
end