Replace @users with Hash
This commit is contained in:
parent
2aef9bd71f
commit
3b0646644a
|
@ -33,7 +33,7 @@ class ModerationController < ApplicationController
|
||||||
v
|
v
|
||||||
end.reverse
|
end.reverse
|
||||||
|
|
||||||
Hash[@users]
|
@users = Hash[@users]
|
||||||
else
|
else
|
||||||
@user_id = @user_id.to_i
|
@user_id = @user_id.to_i
|
||||||
@type = 'all'
|
@type = 'all'
|
||||||
|
|
Loading…
Reference in New Issue