From 678be1dec0f7a9d988bb1b4cfb81e14aaedf3450 Mon Sep 17 00:00:00 2001 From: Jerod Santo Date: Fri, 20 Sep 2024 10:32:16 -0500 Subject: [PATCH] Typo --- lib/changelog_web/templates/email/feed_links.html.heex | 2 +- lib/changelog_web/templates/email/feed_links.text.eex | 2 +- lib/changelog_web/views/email_view.ex | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/changelog_web/templates/email/feed_links.html.heex b/lib/changelog_web/templates/email/feed_links.html.heex index db00463fbc..630e91cf14 100644 --- a/lib/changelog_web/templates/email/feed_links.html.heex +++ b/lib/changelog_web/templates/email/feed_links.html.heex @@ -13,7 +13,7 @@
  • Apple Podcasts
  • -

    Or copy/paste <%= link("this RSS feed", to: url(~p"/feed/#{@feed.slug}")) %> into any other app.

    +

    Or copy/paste <%= link("this RSS feed", to: url(~p"/feeds/#{@feed.slug}")) %> into any other app.

    💚, Logbot

    diff --git a/lib/changelog_web/templates/email/feed_links.text.eex b/lib/changelog_web/templates/email/feed_links.text.eex index 652fbad04b..c5ccee0173 100644 --- a/lib/changelog_web/templates/email/feed_links.text.eex +++ b/lib/changelog_web/templates/email/feed_links.text.eex @@ -10,7 +10,7 @@ Apple Podcasts: <%= feed_app_url(@feed, "podcast://") %> Podcast Addict: <%= feed_app_url(@feed, "podcastaddict://") %> -Direct RSS: <%= url(~p"/feed/#{@feed.slug}") %> +Direct RSS: <%= url(~p"/feeds/#{@feed.slug}") %> 💚, Logbot diff --git a/lib/changelog_web/views/email_view.ex b/lib/changelog_web/views/email_view.ex index aa30c6fd60..ace022bb0d 100644 --- a/lib/changelog_web/views/email_view.ex +++ b/lib/changelog_web/views/email_view.ex @@ -14,7 +14,7 @@ defmodule ChangelogWeb.EmailView do } def feed_app_url(feed, app_prefix, strip_scheme \\ true) do - feed_url = url(~p"/feed/#{feed.slug}") + feed_url = url(~p"/feeds/#{feed.slug}") if strip_scheme do app_prefix <> UrlKit.sans_scheme(feed_url)