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