示例#1
0
文件: blog.php 项目: kerkness/shindig
 public function before()
 {
     if ($this->request->param('slug') and $this->request->action != 'page') {
         $this->request->action = 'post';
     }
     parent::before();
 }