- 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
|