translet
This commit is contained in:
@@ -2,19 +2,29 @@
|
||||
|
||||
namespace dominion\cron\controllers;
|
||||
|
||||
use Yii;
|
||||
use yii\web\Controller;
|
||||
use dominion\cron\models\search\MoleTaskSearch;
|
||||
|
||||
/**
|
||||
* Default controller for the `cron` module
|
||||
*/
|
||||
class DefaultController extends Controller
|
||||
{
|
||||
|
||||
/**
|
||||
* Renders the index view for the module
|
||||
* @return string
|
||||
*/
|
||||
public function actionIndex()
|
||||
{
|
||||
return $this->render('index');
|
||||
$searchModel = new MoleTaskSearch();
|
||||
$dataProvider = $searchModel->search(Yii::$app->request->queryParams);
|
||||
|
||||
return $this->render('index', [
|
||||
'searchModel' => $searchModel,
|
||||
'dataProvider' => $dataProvider,
|
||||
]);
|
||||
}
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user