mirror of
https://github.com/discourse/discourse.git
synced 2025-02-21 22:08:41 +08:00

This reverts commit f5cf647e579d6a2c844a38d695877e5aad951184.
The gem breaks usage of Rails URL helpers when used outside views and
controllers, for example in
88ecb83382/app/models/upload.rb (L239-L242)
the `upload_short_path` method call fails with an undefined method
exception when this gem is enabled.