From 403f58e6cdfe056b1f21076bf6fa8de4dca7d087 Mon Sep 17 00:00:00 2001 From: Buck Doyle Date: Sat, 20 Jul 2024 17:22:45 -0500 Subject: [PATCH] Remove broken abstraction This was never needed, I forgot about //! --- .../email/clandestine-rendezvous-layout.html.heex | 2 +- .../lib/registrations_web/templates/layout/app.html.heex | 2 +- .../lib/registrations_web/views/shared_helpers.ex | 8 -------- 3 files changed, 2 insertions(+), 10 deletions(-) diff --git a/registrations/lib/registrations_web/templates/email/clandestine-rendezvous-layout.html.heex b/registrations/lib/registrations_web/templates/email/clandestine-rendezvous-layout.html.heex index f8b0354d..88849c30 100644 --- a/registrations/lib/registrations_web/templates/email/clandestine-rendezvous-layout.html.heex +++ b/registrations/lib/registrations_web/templates/email/clandestine-rendezvous-layout.html.heex @@ -10,7 +10,7 @@ Clandestine Rendezvous - + diff --git a/registrations/lib/registrations_web/templates/layout/app.html.heex b/registrations/lib/registrations_web/templates/layout/app.html.heex index ad30cb4c..c7b457cb 100644 --- a/registrations/lib/registrations_web/templates/layout/app.html.heex +++ b/registrations/lib/registrations_web/templates/layout/app.html.heex @@ -16,7 +16,7 @@ <%= phrase("title") %> - + diff --git a/registrations/lib/registrations_web/views/shared_helpers.ex b/registrations/lib/registrations_web/views/shared_helpers.ex index 0e85f187..4ccc0a68 100644 --- a/registrations/lib/registrations_web/views/shared_helpers.ex +++ b/registrations/lib/registrations_web/views/shared_helpers.ex @@ -65,14 +65,6 @@ defmodule RegistrationsWeb.SharedHelpers do end end - def environment_protocol do - if Mix.env() == :prod do - "https" - else - "http" - end - end - def is_unmnemonic_devices() do Application.get_env(:registrations, :adventure) == "unmnemonic-devices" end