Removed useless variables.
This commit is contained in:
parent
c954abcc37
commit
f1950bf66d
1 changed files with 0 additions and 2 deletions
|
@ -34,7 +34,6 @@ class SearchController < ApplicationController
|
||||||
limit: limit,
|
limit: limit,
|
||||||
current_user: current_user,
|
current_user: current_user,
|
||||||
)
|
)
|
||||||
user_result = []
|
|
||||||
users.each do |user|
|
users.each do |user|
|
||||||
item = {
|
item = {
|
||||||
id: user.id,
|
id: user.id,
|
||||||
|
@ -50,7 +49,6 @@ class SearchController < ApplicationController
|
||||||
current_user: current_user,
|
current_user: current_user,
|
||||||
)
|
)
|
||||||
|
|
||||||
organization_result = []
|
|
||||||
organizations.each do |organization|
|
organizations.each do |organization|
|
||||||
item = {
|
item = {
|
||||||
id: organization.id,
|
id: organization.id,
|
||||||
|
|
Loading…
Reference in a new issue