trabajo-afectivo/app/controllers/activity_stream_controller.rb

15 lines
359 B
Ruby
Raw Normal View History

2016-10-19 03:11:36 +00:00
# Copyright (C) 2012-2016 Zammad Foundation, http://zammad-foundation.org/
2013-09-28 00:07:11 +00:00
class ActivityStreamController < ApplicationController
prepend_before_action :authentication_check
# GET /api/v1/activity_stream
2013-09-28 00:07:11 +00:00
def show
2016-06-28 20:51:58 +00:00
activity_stream = current_user.activity_stream(params[:limit], true)
# return result
render json: activity_stream
end
end