[openstreetmap/openstreetmap-website] Remove unnecessary requires (#2134)
Andy Allan
notifications at github.com
Wed Feb 6 11:36:47 UTC 2019
Rails does various magic that means that most `require` statements are unnecessary. This removes the ones that I could find.
You can view, comment on, or merge this pull request online at:
https://github.com/openstreetmap/openstreetmap-website/pull/2134
-- Commit Summary --
* Remove unnecessary requires from tests
* Move utf8 validator into app/validators
* Remove unnecessary requires from helpers
* Remove unnecessary requires from app
-- File Changes --
M app/controllers/oauth_controller.rb (2)
M app/helpers/browse_helper.rb (2)
M app/helpers/browse_tags_helper.rb (2)
M app/helpers/title_helper.rb (2)
M app/models/client_application.rb (2)
M app/models/concerns/geo_record.rb (2)
M app/models/message.rb (2)
R app/validators/utf8_validator.rb (0)
M test/controllers/amf_controller_test.rb (1)
M test/controllers/traces_controller_test.rb (1)
M test/models/trace_test.rb (1)
-- Patch Links --
https://github.com/openstreetmap/openstreetmap-website/pull/2134.patch
https://github.com/openstreetmap/openstreetmap-website/pull/2134.diff
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/2134
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20190206/ced915d3/attachment.html>
More information about the rails-dev
mailing list