From cb11ba082b48743fc6140478fd7c8466f3c32a39 Mon Sep 17 00:00:00 2001 From: "byte[]" Date: Mon, 28 Sep 2020 10:36:27 -0400 Subject: [PATCH] quickly reject user links from profile page --- lib/philomena_web/templates/profile/show.html.slime | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/philomena_web/templates/profile/show.html.slime b/lib/philomena_web/templates/profile/show.html.slime index 675c2cf8..d0641d01 100644 --- a/lib/philomena_web/templates/profile/show.html.slime +++ b/lib/philomena_web/templates/profile/show.html.slime @@ -93,6 +93,9 @@ ' • a href=Routes.profile_user_link_path(@conn, :edit, @user, link) ' Edit + ' • + a href=Routes.admin_user_link_reject_path(@conn, :create, link) data-method="post" + ' Reject - else => unless link.public do br