Logo white

Administrator / baucenter

Sign in
  • Sign in
  • Project
  • Files
  • Commits
  • Network
  • Graphs
  • Milestones
  • Issues 0
  • Merge Requests 0
  • Labels
  • Wiki
  • baucenter
  • frontend
  • controllers
  • PostController.php
  • not fixed commite
    8df80521
    Alexander Karnovsky authored
    2016-03-23 17:18:03 +0200  
    Browse Code ยป
PostController.php 324 Bytes
Edit Raw Blame History
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
<?php

namespace frontend\controllers;

use yii\helpers\Url;
use yii\web\HttpException;

class PostController extends \yii\web\Controller
{
    public function actionIndex()
    {
        return Url::to(['post/view', 'id' => 55]);
    }

    public function actionView($id)
    {
        return 'actionView:'. $id;
    }

}