rails: add 'URL' inflection.
Make it so we can write `ArtistURL` instead of `ArtistUrl`.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user