Initial import
This commit is contained in:
@@ -0,0 +1,27 @@
|
||||
<?php
|
||||
|
||||
|
||||
namespace app\controllers;
|
||||
|
||||
|
||||
use app\services\Auth;
|
||||
use yii\web\Controller;
|
||||
|
||||
class MediaController extends BaseController
|
||||
{
|
||||
public function beforeAction($action)
|
||||
{
|
||||
|
||||
return parent::beforeAction($action);
|
||||
}
|
||||
|
||||
public function actionPlay($id)
|
||||
{
|
||||
return $this->renderPartial('play', ['id' => $id]);
|
||||
}
|
||||
|
||||
public function actionPlayMobile($id)
|
||||
{
|
||||
return $this->renderPartial('play_mobile', ['id' => $id]);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user