diff --git a/app/models/artist_version.rb b/app/models/artist_version.rb index 8d4d24798..c2b1feb0a 100644 --- a/app/models/artist_version.rb +++ b/app/models/artist_version.rb @@ -23,6 +23,10 @@ class ArtistVersion < ActiveRecord::Base q end + def url_array + url_string.scan(/\S+/) + end + def updater_name User.id_to_name(updater_id).tr("_", " ") end diff --git a/app/views/artist_versions/index.html.erb b/app/views/artist_versions/index.html.erb index 6134f761e..5c24accf7 100644 --- a/app/views/artist_versions/index.html.erb +++ b/app/views/artist_versions/index.html.erb @@ -28,7 +28,13 @@