retrospring/app/controllers/inbox_controller.rb
nilsding 28df95c089 hnn
2014-11-30 21:08:00 +01:00

7 lines
182 B
Ruby

class InboxController < ApplicationController
before_filter :authenticate_user!
def show
@inbox = Inbox.where(user: current_user).order(:created_at).reverse_order
end
end