From 17e06d5141b6d1e7df114aea14aec10e40d45898 Mon Sep 17 00:00:00 2001 From: Sidharth Date: Wed, 7 Feb 2018 22:40:07 +0530 Subject: [PATCH] Profile tags corrected --- app/views/tag/_tags.html.erb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/app/views/tag/_tags.html.erb b/app/views/tag/_tags.html.erb index a1c292cd73..e545f94ddc 100644 --- a/app/views/tag/_tags.html.erb +++ b/app/views/tag/_tags.html.erb @@ -19,7 +19,9 @@ <%= tag.name %> - x + <% if current_user && ( current_user.uid == tag.uid || current_user.role == "admin" || current_user.role == "moderator") %> + x + <% end %> <% end %>