mirror of
https://github.com/discourse/discourse.git
synced 2025-02-27 16:06:10 +00:00
In the old `decorateWidget("hamburger-menu:generalLinks", callbackFn)` API, the return value of the callback function can either return a `route` or `href`. The API bridge added in de54bdd73d2c501cb22902d638a14cddd2c15520 supported `route` but not `href` and hence the need for this commit.