lower priority of twitter urls
[skip ci]
This commit is contained in:
@@ -74,7 +74,7 @@ class ArtistUrl < ApplicationRecord
|
||||
10
|
||||
|
||||
elsif normalized_url =~ /twitter\.com/ && normalized_url !~ /status/
|
||||
10
|
||||
15
|
||||
|
||||
elsif normalized_url =~ /tumblr|patreon|deviantart|artstation/
|
||||
20
|
||||
|
||||
@@ -32,7 +32,7 @@
|
||||
<li>
|
||||
<%= link_to h(url.to_s), h(url) %>
|
||||
<% if CurrentUser.user.is_moderator? %>
|
||||
[<%= link_to("mass edit", edit_moderator_tag_path(:antecedent => "-#{artist.name} source:#{ArtistUrl.normalize_for_search(url.to_s)}", :consequent => artist.name)) %>]
|
||||
[<%= link_to("mass edit", edit_moderator_tag_path(:antecedent => "-#{artist.name} source:#{ArtistUrl.normalize_for_search(url.url)}", :consequent => artist.name)) %>]
|
||||
<% end %>
|
||||
</li>
|
||||
<% end %>
|
||||
|
||||
Reference in New Issue
Block a user