trabajo-afectivo/app/controllers/activity_stream_controller.rb

15 lines
353 B
Ruby
Raw Normal View History

2014-02-03 19:24:49 +00:00
# Copyright (C) 2012-2014 Zammad Foundation, http://zammad-foundation.org/
2013-09-28 00:07:11 +00:00
class ActivityStreamController < ApplicationController
before_action :authentication_check
# GET /api/v1/activity_stream
2013-09-28 00:07:11 +00:00
def show
activity_stream = current_user.activity_stream( params[:limit], true )
# return result
render json: activity_stream
end
end