mirror of
https://github.com/Retrospring/retrospring.git
synced 2025-01-19 15:56:03 +01:00
11 lines
281 B
Ruby
11 lines
281 B
Ruby
class InboxController < ApplicationController
|
|
before_filter :authenticate_user!
|
|
|
|
def show
|
|
@inbox = Inbox.where(user: current_user).order(:created_at).reverse_order.paginate(page: params[:page])
|
|
respond_to do |format|
|
|
format.html
|
|
format.js
|
|
end
|
|
end
|
|
end
|