Also return users without a team on UserCollection service

This commit is contained in:
Luchs 2017-02-02 15:07:24 +01:00 committed by Ari Timonen
parent 04b2638ebd
commit f89771ffaf

View file

@ -39,7 +39,6 @@ class Api::V1::UsersCollection < Api::V1::Collection
.project(columns)
.join(teams_table, Arel::Nodes::OuterJoin)
.on(joins)
.where(users_table[:team_id].not_eq(nil))
.order(users_table[:id])
end