mirror of
https://github.com/discourse/discourse.git
synced 2025-02-01 08:40:46 +08:00
c847f5e8a1
* DEV: small refactor of the category_moderators method Used `index_by(&:id)` instead of `map { |u| [u.id, u] }.to_h` thanks to @cvx's recommendation. Also renamed the `moderators` variable to not clash with method of the same name. |
||
---|---|---|
.. | ||
assets | ||
controllers | ||
helpers | ||
jobs | ||
mailers | ||
models | ||
serializers | ||
services | ||
views |