trabajo-afectivo/app/controllers/activity_stream_controller.rb

15 lines
356 B
Ruby
Raw Normal View History

# Copyright (C) 2012-2013 Zammad Foundation, http://zammad-foundation.org/
2013-09-28 00:07:11 +00:00
class ActivityStreamController < ApplicationController
before_filter :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
2012-07-23 22:22:23 +00:00
render :json => activity_stream
end
end