mirror of
https://github.com/discourse/discourse.git
synced 2025-03-26 18:35:49 +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