mirror of
https://github.com/discourse/discourse.git
synced 2025-02-06 19:38:24 +00:00
228264d17c
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.