Use query instead of separate action on resource