search: refactor to pass in the current user explicitly.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user