activity_controller.rb 373 B

1234567891011121314
  1. # Copyright (C) 2012-2013 Zammad Foundation, http://zammad-foundation.org/
  2. class ActivityController < ApplicationController
  3. before_filter :authentication_check
  4. # GET /api/v1/activity_stream
  5. def activity_stream
  6. activity_stream = History.activity_stream_fulldata( current_user, params[:limit] )
  7. # return result
  8. render :json => activity_stream
  9. end
  10. end