Fix lint errors introduced in #4146 and #4295 (#4876)

* Ameba: Fix Naming/VariableNames

Introduced in #4295

* Ameba: Fix Naming/PredicateName

Introduced in #4146
This commit is contained in:
syeopite
2024-08-24 18:11:11 +00:00
committed by GitHub
parent 3c6a662aaf
commit ccecc6d318
3 changed files with 5 additions and 5 deletions

View File

@@ -53,7 +53,7 @@ module Invidious::Routes::Search
# An URL was copy/pasted in the search box.
# Redirect the user to the appropriate page.
if query.is_url?
if query.url?
return env.redirect UrlSanitizer.process(query.text).to_s
end