mirror of
https://github.com/discourse/discourse.git
synced 2026-08-08 20:18:23 -05:00
This reverts commit f5cf647e57.
The gem breaks usage of Rails URL helpers when used outside views and
controllers, for example in
https://github.com/discourse/discourse/blob/88ecb83382e4dc5cec1d9599619a6c40a07825ae/app/models/upload.rb#L239-L242
the `upload_short_path` method call fails with an undefined method
exception when this gem is enabled.