fix tag legacy api limit

This commit is contained in:
albert
2013-02-28 21:48:48 -08:00
parent ea89218fdb
commit 207001655d
3 changed files with 9 additions and 3 deletions

View File

@@ -25,7 +25,7 @@ class LegacyController < ApplicationController
end
def tags
@tags = Tag.limit(100).search(params).paginate(params[:page])
@tags = Tag.limit(100).search(params).paginate(params[:page], :limit => params[:limit])
end
def artists