rails: add 'URL' inflection.

Make it so we can write `ArtistURL` instead of `ArtistUrl`.
This commit is contained in:
evazion
2022-02-21 08:41:05 -06:00
parent fbab273c81
commit 60a26af6e3
8 changed files with 16 additions and 14 deletions

View File

@@ -149,7 +149,7 @@ module ArtistFinder
# @param url [String] the artist profile URL
# @return [Array<Artist>] the list of matching artists
def find_artists(url)
url = ArtistUrl.normalize_normalized_url(url)
url = ArtistURL.normalize_normalized_url(url)
artists = []
while artists.empty? && url.size > 10