Blame view

frontend/controllers/LandingController.php 473 Bytes
0ae6f109   Administrator   firs page
1
2
3
4
5
6
7
8
9
10
  <?php
  /**
   * Created by PhpStorm.
   * User: vitaliy
   * Date: 26.01.16
   * Time: 13:30
   */
  
  namespace frontend\controllers;
  
6e1510b2   Administrator   firs page
11
12
  use yii\web\Controller;
  use yii\web\NotFoundHttpException;
0ae6f109   Administrator   firs page
13
  
6e1510b2   Administrator   firs page
14
  class LandingController extends Controller{
0ae6f109   Administrator   firs page
15
  
6e1510b2   Administrator   firs page
16
      public function actionView($view)
0ae6f109   Administrator   firs page
17
      {
6e1510b2   Administrator   firs page
18
19
20
21
22
23
24
25
26
27
  //        try{
  
              return $this->render($view,[]);
  //
  //        }
  //        catch(\yii\base\InvalidParamException $e){
  //
  //            throw new NotFoundHttpException;
  //
  //        }
89758aeb   Administrator   firs page
28
  
0ae6f109   Administrator   firs page
29
30
31
      }
  
  }