defmodule BerrypodWeb.RedirectController do
  use BerrypodWeb, :controller

  @doc """
  Redirects /admin/theme to the on-site theme editor.
  """
  def theme(conn, _params) do
    redirect(conn, to: "/?edit=theme")
  end
end
