mirror of
https://github.com/discourse/discourse.git
synced 2025-02-14 15:24:57 +00:00
These endpoints only return one `Theme` row, but the one-many relations were not being preloaded efficiently. This commit moves the `includes` statement to a scope, and makes use of it in `#index`, `#show`, and `#update`.