This commit is contained in:
albert
2013-04-04 18:24:06 -04:00
parent 79c0c481cd
commit e0a5b748d9
3 changed files with 5 additions and 3 deletions

View File

@@ -114,7 +114,7 @@ class Artist < ActiveRecord::Base
Artist.new.tap do |artist|
if params[:name]
artist.name = params[:name]
post = Post.tag_match("source:http* #{artist.name}").first
post = Post.tag_match("source:http #{artist.name}").first
unless post.nil? || post.source.blank?
artist.url_string = post.source
end