Redirect to settings after succesful payment

This commit is contained in:
Uku Taht 2020-06-15 15:41:07 +03:00
parent 0fbf9a2d70
commit 788596230b

View File

@ -79,6 +79,6 @@ defmodule PlausibleWeb.BillingController do
def success(conn, _params) do def success(conn, _params) do
conn conn
|> put_flash(:success, "Subscription created successfully") |> put_flash(:success, "Subscription created successfully")
|> redirect(to: "/") |> redirect(to: "/settings")
end end
end end