|
123456789101112131415161718192021222324252627282930 |
- <?php
-
- namespace frontend\controllers;
-
- use Yii;
- use yii\filters\AccessControl;
- use frontend\controllers\FrontendController;
-
- class EtablissementController extends FrontendController {
-
- public function behaviors() {
- return [
- 'access' => [
- 'class' => AccessControl::className(),
- 'rules' => [
- [
- 'allow' => true,
- 'roles' => ['@'],
- ]
- ],
- ],
- ];
- }
-
- public function actionIndex() {
-
- return $this->render('index') ;
- }
-
- }
|