21 lines
342 B
PHP
21 lines
342 B
PHP
<?php
|
|
|
|
namespace backend\modules\api\controllers;
|
|
|
|
use yii\web\Controller;
|
|
|
|
/**
|
|
* Default controller for the `api` module
|
|
*/
|
|
class DefaultController extends Controller
|
|
{
|
|
/**
|
|
* Renders the index view for the module
|
|
* @return string
|
|
*/
|
|
public function actionIndex()
|
|
{
|
|
return $this->render('index');
|
|
}
|
|
}
|