From 0914d2acccb3add0641eacf2f7d4c2c3a0dcdaa9 Mon Sep 17 00:00:00 2001 From: River Tae Smith <22485304+r-tae@users.noreply.github.com> Date: Fri, 20 Sep 2024 14:00:55 +1000 Subject: [PATCH] Remove dbg call and fix moduledoc typo --- lib/signbank_web/live/search_live/search.ex | 3 --- lib/signbank_web/plugs/rewrite_url.ex | 3 ++- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/lib/signbank_web/live/search_live/search.ex b/lib/signbank_web/live/search_live/search.ex index 2a98385..b88d1ab 100644 --- a/lib/signbank_web/live/search_live/search.ex +++ b/lib/signbank_web/live/search_live/search.ex @@ -216,9 +216,6 @@ defmodule SignbankWeb.SignLive.Search do socket.assigns.base |> SearchForm.changeset(params) |> struct!(action: :validate) - |> dbg() - - dbg(to_form(changeset)) {:noreply, assign(socket, form: to_form(changeset))} end diff --git a/lib/signbank_web/plugs/rewrite_url.ex b/lib/signbank_web/plugs/rewrite_url.ex index 6545ba2..283e144 100644 --- a/lib/signbank_web/plugs/rewrite_url.ex +++ b/lib/signbank_web/plugs/rewrite_url.ex @@ -1,9 +1,10 @@ defmodule SignbankWeb.Plugs.RewriteURL do - @defmodule """ + @moduledoc """ Rewrites legacy django-based Signbank URLs to the new format. TODO: list specific rewrites """ + use SignbankWeb, :verified_routes import Plug.Conn