You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

39 lines
663 B

<?php
namespace App\Http;
use Rakit\Validation\Validator;
use App\Flight\FlightAbstract;
use App\Models\Bucket;
use Carbon\Carbon;
/**
*
*
*
*
* @author Björn Hase
* @link https://gitea.tentakelfabrik.de/mITSM/feedback GitHub Repository
*
*
*/
class Bucket extends FlightAbstract
{
public function viewAction($id)
{
$this->app->render('bucket', [
'id' => $id
]);
}
public function indexAction($id, $visibilty, $page)
{
$bucketStore = new Bucket();
$publicBuckets = $bucketStore->findBy();
$this->app->json([
'publicBuckets' => $publicBuckets
]);
}
}