From fde398d37b185c774e6b9c5b19e22e53c2cae97c Mon Sep 17 00:00:00 2001 From: evazion Date: Fri, 28 Dec 2018 15:50:55 -0600 Subject: [PATCH] posts: clarify missing artist tag warning (#4029). --- app/models/post.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/models/post.rb b/app/models/post.rb index 9aa696214..ac8585d5b 100644 --- a/app/models/post.rb +++ b/app/models/post.rb @@ -1788,7 +1788,7 @@ class Post < ApplicationRecord return if tags.any? { |t| t.category == Tag.categories.artist } return if Sources::Strategies.find(source).is_a?(Sources::Strategies::Null) - self.warnings[:base] << "Artist tag is required. Create a new tag with [[artist:]]. Ask on the forum if you need naming help" + self.warnings[:base] << "Artist tag is required. \"Create new artist tag\":[/artists/new?artist%5Bsource%5D=#{CGI::escape(source)}]. Ask on the forum if you need naming help" end def has_copyright_tag