zammad/app/controllers/activity_controller.rb

12 lines
No EOL
291 B
Ruby

class ActivityController < ApplicationController
before_filter :authentication_check
# GET /api/activity_stream
def activity_stream
activity_stream = History.activity_stream_fulldata(current_user, params[:limit])
# return result
render :json => activity_stream
end
end