activity_stream_controller.rb 356 B

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