diff options
author | hellekin <hellekin@cepheide.org> | 2021-02-02 23:26:54 +0100 |
---|---|---|
committer | hellekin <hellekin@cepheide.org> | 2021-02-02 23:26:54 +0100 |
commit | bcd7baba2a91ae6ac75c046514b9fa420fb820f4 (patch) | |
tree | 9c05b49c3b76271f6665265cc6d7e02328addbd5 /app/assets/config | |
parent | e11e9ada062b12b064dde124bb5601df7c40f45b (diff) | |
download | incommon-map-bcd7baba2a91ae6ac75c046514b9fa420fb820f4.tar.gz |
Add syntactic sugar
To some it may be more straightforward to think of the members of
an Agent as "users". This commit accepts using `Agent#users` instead
of `Agent#members`, but warns developers that they should be using
the other method.
Since Agent has_many Users, the Principle of Least Surprise warrants
that `agent.users` does something.
But they're really members.
Diffstat (limited to 'app/assets/config')
0 files changed, 0 insertions, 0 deletions