search: refactor to pass in the current user explicitly.

This commit is contained in:
evazion
2022-09-22 04:16:28 -05:00
parent b56b6c554b
commit 88ac91f5f3
82 changed files with 233 additions and 280 deletions

View File

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