mirror of
https://github.com/discourse/discourse.git
synced 2025-03-24 20:00:25 +08:00

Use a helper method to simplify creating a new register. Previously this would require creating lots of different methods manually, and adding every register to the clear/reset functions