mirror of
https://github.com/discourse/discourse.git
synced 2024-11-25 00:43:24 +08:00
e91fa0ef80
The original motivation for this change was to avoid mutating imported modules (by stubbing imported functions in tests) Other than that it's a good practice to place code like this in services, especially (although not the case here) if it requires access to other services or controller. |
||
---|---|---|
.. | ||
images | ||
javascripts | ||
stylesheets |