]> cat aescling's git repositories - mastodon.git/commit
replace all instances of "ends_with?" with "end_with?" (#15745)
authorJustin Tracey <j2tracey@gmail.com>
Fri, 19 Feb 2021 08:56:14 +0000 (08:56 +0000)
committerGitHub <noreply@github.com>
Fri, 19 Feb 2021 08:56:14 +0000 (09:56 +0100)
commitc9e8e1739c698291e1b034d19a1b01d75c9e039b
tree4d1aa255c0d76e2f518f611582dae2d09f84af02
parentfc145de23865ebc957cde50f66844bcfad475e47
replace all instances of "ends_with?" with "end_with?" (#15745)

The "ends_with?" method is just a Rails alias of Ruby's "end_with?" method.
Using the latter makes the code less brittle.
app/controllers/accounts_controller.rb
app/controllers/application_controller.rb
app/controllers/media_proxy_controller.rb
app/lib/webfinger.rb
lib/action_dispatch/cookie_jar_extensions.rb