when creating artists, do not create a wiki page if there are no notes
This commit is contained in:
@@ -145,10 +145,12 @@ class Artist < ActiveRecord::Base
|
||||
wiki_page.body = msg
|
||||
wiki_page.save
|
||||
else
|
||||
if msg.present?
|
||||
self.wiki_page = WikiPage.new(:title => name, :body => msg)
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
module TagMethods
|
||||
def has_tag_alias?
|
||||
|
||||
Reference in New Issue
Block a user