Remove legacy forms and reports routes - not needed for MoneyFlix
This commit is contained in:
1 parent
9ea08462ca
commit
fdb41344c6
1 file changed
-63
@@ -77,70 +77,7 @@ $router->get('/dashboard', function() {
|
||||
exit();
|
||||
});
|
||||
|
||||
// --- SCANNER REDIRECTS ---
|
||||
// Legacy redirects for scanner compatibility
|
||||
|
||||
// Forms redirects - redirect to correct Forms module routes
|
||||
$router->get('/forms/lead', function() {
|
||||
header('Location: /forms/lead', true, 302);
|
||||
exit;
|
||||
});
|
||||
|
||||
$router->get('/forms/lead/create', function() {
|
||||
header('Location: /forms/lead/create', true, 302);
|
||||
exit;
|
||||
});
|
||||
|
||||
$router->get('/forms/lead/submit', function() {
|
||||
header('Location: /forms/lead/submit', true, 302);
|
||||
exit;
|
||||
});
|
||||
|
||||
$router->get('/forms/lead/validate', function() {
|
||||
header('Location: /forms/lead/validate', true, 302);
|
||||
exit;
|
||||
});
|
||||
|
||||
$router->get('/forms/contact', function() {
|
||||
header('Location: /forms/contact', true, 302);
|
||||
exit;
|
||||
});
|
||||
|
||||
$router->get('/forms/contact/create', function() {
|
||||
header('Location: /forms/contact/create', true, 302);
|
||||
exit;
|
||||
});
|
||||
|
||||
$router->get('/forms/contact/submit', function() {
|
||||
header('Location: /forms/contact/submit', true, 302);
|
||||
exit;
|
||||
});
|
||||
|
||||
$router->get('/forms/contact/validate', function() {
|
||||
header('Location: /forms/contact/validate', true, 302);
|
||||
exit;
|
||||
});
|
||||
|
||||
// Reports redirects - redirect to CRM reports
|
||||
$router->get('/reports/sales', function() {
|
||||
header('Location: /apps/crm/reports', true, 302);
|
||||
exit;
|
||||
});
|
||||
|
||||
$router->get('/reports/sales/generate', function() {
|
||||
header('Location: /apps/crm/reports/deals', true, 302);
|
||||
exit;
|
||||
});
|
||||
|
||||
$router->get('/reports/sales/schedule', function() {
|
||||
header('Location: /apps/crm/reports', true, 302);
|
||||
exit;
|
||||
});
|
||||
|
||||
$router->get('/reports/sales/history', function() {
|
||||
header('Location: /apps/crm/reports', true, 302);
|
||||
exit;
|
||||
});
|
||||
|
||||
// System status redirects
|
||||
$router->get('/system/status', function() {
|
||||
|
||||
Reference in new issue
Block a user