trabajo-afectivo/app/controllers/activity_controller.rb

15 lines
373 B
Ruby
Raw Normal View History

# Copyright (C) 2012-2013 Zammad Foundation, http://zammad-foundation.org/
class ActivityController < ApplicationController
before_filter :authentication_check
# GET /api/v1/activity_stream
def activity_stream
2012-11-26 23:22:52 +00:00
activity_stream = History.activity_stream_fulldata( current_user, params[:limit] )
# return result
2012-07-23 22:22:23 +00:00
render :json => activity_stream
end
end