Implement basic upload tags change report

This commit is contained in:
Type-kun
2017-01-27 14:54:52 +05:00
parent 1d25d1315a
commit 1e8eceeba9
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