zammad/app/controllers/activity_stream_controller.rb
Martin Edenhofer e5c35021ac Updated header.
2014-02-03 20:24:49 +01:00

14 lines
356 B
Ruby

# Copyright (C) 2012-2014 Zammad Foundation, http://zammad-foundation.org/
class ActivityStreamController < ApplicationController
before_filter :authentication_check
# GET /api/v1/activity_stream
def show
activity_stream = current_user.activity_stream( params[:limit], true )
# return result
render :json => activity_stream
end
end