Skip to content

mix_unused notifies Phoenix liveview functions, such as __phoenix_verify_routes__ #46

@kubosuke

Description

@kubosuke
hint: TestWeb.RedirectToController.__phoenix_verify_routes__/1 is unused
    lib/test_web/controllers/redirect_to_controller.ex:1
defmodule TestWeb.RedirectToController do
  use TestWeb, :controller

  def call(conn, to: to) do
    conn
    |> redirect(to: ~u"#{to}")
    |> halt()
  end
end

these Phoenix functions should be ignored

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions