mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-07-24 02:12:17 +00:00
- Renamed every controller that has conflicts with class name
- Added routes to renamed controllers - Fixed controllers parameters in get method
This commit is contained in:
@@ -33,11 +33,11 @@ class Server extends APIv1_Controller
|
||||
*/
|
||||
public function getServer()
|
||||
{
|
||||
$serverID = $this->get('server_id');
|
||||
$server_kurzbz = $this->get('server_kurzbz');
|
||||
|
||||
if(isset($serverID))
|
||||
if(isset($server_kurzbz))
|
||||
{
|
||||
$result = $this->ServerModel->load($serverID);
|
||||
$result = $this->ServerModel->load($server_kurzbz);
|
||||
|
||||
$this->response($result, REST_Controller::HTTP_OK);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user