mirror of
https://github.com/discourse/discourse.git
synced 2025-04-19 07:43:45 +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