]> cat aescling's git repositories - mastodon.git/commitdiff
Change the hashtag link from WebUI to public page (#11845)
authormayaeh <mayaeh@marimo-net.org>
Sun, 15 Sep 2019 13:48:00 +0000 (22:48 +0900)
committerEugen Rochko <eugen@zeonfederated.com>
Sun, 15 Sep 2019 13:48:00 +0000 (15:48 +0200)
app/views/admin/tags/show.html.haml

index d54a43c1e8f524eca1cc3b97ea7a85a042689bf4..1d970d637f95c87562759054d74e9f5ad24c04a7 100644 (file)
@@ -3,7 +3,7 @@
 
 .dashboard__counters
   %div
-    = link_to web_url("timelines/tag/#{@tag.name}") do
+    = link_to tag_url(@tag), target: '_blank', rel: 'noopener' do
       .dashboard__counters__num= number_with_delimiter @accounts_today
       .dashboard__counters__label= t 'admin.tags.accounts_today'
   %div