luyadev/luya-module-admin

View on GitHub
src/controllers/FilterController.php

Summary

Maintainability
A
0 mins
Test Coverage
A
100%
<?php

namespace luya\admin\controllers;

use luya\admin\Module;
use luya\admin\ngrest\base\Controller;

/**
 * NgRest Filter Controller.
 *
 * @author Basil Suter <basil@nadar.io>
 * @since 1.0.0
 */
class FilterController extends Controller
{
    public $modelClass = 'luya\admin\models\StorageFilter';

    public function getDescription()
    {
        return Module::t('filter_controller_description');
    }
}