Move direct controller direct view calls to route/web, add global $server to use in views, negating the need to use config('server')

This commit is contained in:
2025-03-14 17:12:24 +11:00
parent de2d139288
commit 8ab5b4f35c
10 changed files with 14 additions and 37 deletions

View File

@@ -41,14 +41,6 @@ class HomeController extends Controller
});
}
/**
* Debug Page
*/
public function debug()
{
return view('debug');
}
/**
* Create a new object in the LDAP server
*
@@ -451,22 +443,6 @@ class HomeController extends Controller
->with('ldif',htmlspecialchars($x));
}
public function import_frame()
{
return view('frames.import');
}
/**
* LDAP Server INFO
*
* @return \Illuminate\View\View
*/
public function info(): \Illuminate\View\View
{
return view('frames.info')
->with('s',config('server'));
}
/**
* For any incoming request, work out the command and DN involved
*