Merge pull request #2864 from r888888888/upload_tags_report

Implement #2863: basic upload tags change report
This commit is contained in:
Albert Yi
2017-02-28 15:28:40 -08:00
committed by GitHub
5 changed files with 126 additions and 0 deletions

View File

@@ -0,0 +1,9 @@
class UploadTagsReportController < ApplicationController
respond_to :html, :xml, :json
def show
@user = User.find(params[:id])
@upload_reports = UploadTagsReport.for_user(params[:id]).order("id desc").paginate(params[:page], :limit => params[:limit])
respond_with(@upload_reports)
end
end