mirror of
https://github.com/discourse/discourse.git
synced 2025-04-14 14:50:48 +08:00

This makes more sense (and is likely faster) than redefining the entire route for every call to `buildTopicRoute`. Also moves the top-specific logic into the route rather than injecting it via an initializer. Similar to d5107d1abaff3c6b5f2c02156e1783f9daa45a7b