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