Big improvement in CP flows

This commit is contained in:
Pinga 2024-01-09 11:47:18 +02:00
parent 7c2e6d4388
commit f3fa1f1855
15 changed files with 244 additions and 961 deletions

View file

@ -72,12 +72,9 @@ class SupportController extends Controller
'categories' => $categories
]);
}
return view($response, 'admin/support/view.twig', [
'categories' => $categories,
'subject' => $subject,
]);
$this->container->get('flash')->addMessage('success', 'Support ticket ' . $subject . ' has been created successfully!');
return $response->withHeader('Location', '/support')->withStatus(302);
}
$db = $this->container->get('db');