discourse/app
Régis Hanol c847f5e8a1
DEV: small refactor of the category_moderators method (#12550)
* 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.
2021-03-30 23:12:53 +02:00
..
assets UX: more consistent user control button width (#12553) 2021-03-30 14:18:38 -04:00
controllers DEV: Remove draft attributes from topic lists (#12525) 2021-03-30 11:42:26 -04:00
helpers FEATURE: Implement nonces for Google Tag Manager integration (#12531) 2021-03-26 11:19:31 -04:00
jobs FEATURE: Allow admins to pre-populate user fields (#12361) 2021-03-29 14:03:19 +03:00
mailers FIX: Correctly use invite to topic email templates (#12411) 2021-03-16 17:08:54 +02:00
models DEV: small refactor of the category_moderators method (#12550) 2021-03-30 23:12:53 +02:00
serializers DEV: Remove draft attributes from topic lists (#12525) 2021-03-30 11:42:26 -04:00
services FIX: Prevent UniqueViolation exceptions when syncing group mentions (#12543) 2021-03-29 12:43:24 -05:00
views FEATURE: Implement nonces for Google Tag Manager integration (#12531) 2021-03-26 11:19:31 -04:00