mirror of
https://github.com/discourse/discourse.git
synced 2025-02-07 16:37:30 +08:00
9919046c1c
This commit changes some plugin outlets in `<Discovery::Layout>`, `<Discovery::Navigation>` and `Discovery::Topics` to improve compatibility with existing customization, simplifying the migration process to the new discovery routes. In these components, the standard plugin outlets will receive by default at least the arguments: `category` and `tag`. Furthermore, two new wrapping plugin outlets were added to enable the conversion of existing template overrides to the new pattern: `discovery-list-area` and `topic-list-bottom`. The new template overrides will receive a `model` argument containing the full model handled by the route. --------- Co-authored-by: David Taylor <david@taylorhq.com> |
||
---|---|---|
.. | ||
images | ||
javascripts | ||
stylesheets |