<?php
/**
 * @link      http://www.u-bo.com
 * @copyright 南京友博网络科技有限公司 
 * @license   http://www.u-bo.com/license/
 */

namespace home\modules\contract\controllers;

use home\controllers\Controller;

/**
 * 合同状态控制器
 * 
 * @author zealxd http://blog.u-bo.com
 * @since 0.1
 */
class StatusController extends Controller
{
    public function actions() {
        $actions = parent::actions();
        $actions['create']['layout'] = '//modal';
        $actions['view']['layout'] = '//modal';
        $actions['update']['layout'] = '//modal';
        $actions['index']['order'] = ['sort' => SORT_DESC, 'status_id' =>SORT_DESC];
		return $actions;
	}
}
