質問編集履歴
1
前回の修正漏れ
test
CHANGED
File without changes
|
test
CHANGED
@@ -62,7 +62,7 @@
|
|
62
62
|
|
63
63
|
|
64
64
|
|
65
|
-
```ruby
|
65
|
+
```ruby
|
66
66
|
|
67
67
|
def search
|
68
68
|
|
@@ -74,7 +74,7 @@
|
|
74
74
|
|
75
75
|
users_ids = Label.where(id: params[:label]).map{|label| label.users.pluck(:id)}
|
76
76
|
|
77
|
-
@users =
|
77
|
+
@users = User.where(id: users_ids).order('id desc').page params[:page]
|
78
78
|
|
79
79
|
end
|
80
80
|
|