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

By requiring open-uri this will fix the following error: ``` NoMethodError (private method `open' called for #<URI::Generic... ``` also switched to the shorter syntax and removed default options. Since ruby 2.4 redirect is on by default.