mirror of
https://github.com/grocy/grocy.git
synced 2025-08-20 20:26:42 +00:00
Reorganize project part 2
This commit is contained in:
11
controllers/BaseApiController.php
Normal file
11
controllers/BaseApiController.php
Normal file
@@ -0,0 +1,11 @@
|
||||
<?php
|
||||
|
||||
namespace Grocy\Controllers;
|
||||
|
||||
class BaseApiController extends BaseController
|
||||
{
|
||||
protected function ApiEncode($response)
|
||||
{
|
||||
return json_encode($response);
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user