From a81464f189fe3c196e74997d432fa0eeb1a38d0f Mon Sep 17 00:00:00 2001 From: "byte[]" Date: Sat, 1 Aug 2020 19:04:48 -0400 Subject: [PATCH] fix link to sign in page --- assets/js/interactions.js | 2 +- lib/philomena_web/templates/tag/_tag.html.slime | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/assets/js/interactions.js b/assets/js/interactions.js index 42c9deae..b5d8e054 100644 --- a/assets/js/interactions.js +++ b/assets/js/interactions.js @@ -181,7 +181,7 @@ function bindInteractions() { function loggedOutInteractions() { [].forEach.call(document.querySelectorAll('.interaction--fave,.interaction--upvote,.interaction--downvote'), - a => a.setAttribute('href', '/session/new')); + a => a.setAttribute('href', '/sessions/new')); } function setupInteractions() { diff --git a/lib/philomena_web/templates/tag/_tag.html.slime b/lib/philomena_web/templates/tag/_tag.html.slime index 3c6cc1cd..8df114ee 100644 --- a/lib/philomena_web/templates/tag/_tag.html.slime +++ b/lib/philomena_web/templates/tag/_tag.html.slime @@ -22,7 +22,7 @@ span.tag.dropdown data-tag-category="#{@tag.category}" data-tag-id="#{@tag.id}" a.tag__dropdown__link.hidden data-method="delete" data-remote="true" data-tag-action="unhide" href=Routes.filter_hide_path(@conn, :delete, tag: @tag) Unhide a.tag__dropdown__link.hidden data-method="post" data-remote="true" data-tag-action="hide" href=Routes.filter_hide_path(@conn, :create, tag: @tag) Hide - a.tag__dropdown__link.hidden href="/session/new" Sign in to Watch + a.tag__dropdown__link.hidden href="/sessions/new" Sign in to Watch a.tag__dropdown__link.hidden href="/filters" Filter span.tag__count