Redirect to dashboard after site deletion

pull/197/head
Uku Taht 6 years ago
parent 80b98762f4
commit 9edbf394f7

@ -162,7 +162,7 @@ defmodule PlausibleWeb.SiteController do
conn
|> put_flash(:success, "Site deleted succesfully along with all pageviews")
|> redirect(to: "/")
|> redirect(to: "/sites")
end
def make_public(conn, %{"website" => website}) do

Loading…
Cancel
Save