浏览代码

Stopped using a custom layout for feed

Michael Francis 14 年之前
父节点
当前提交
23ff8bcdaa
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      controllers/UsersController.php

+ 1 - 1
controllers/UsersController.php

@@ -216,7 +216,7 @@ class UsersController extends \lithium\action\Controller {
 			$feed = array_reverse($feed);
 
 			//This renders a custom layout we use for the feed, then passes user and feed to the view for the variables. 
-			$this->render(array('layout' => 'untitled', 'data' => compact('user', 'feed')));
+			return compact('user', 'feed');
 		}
 		
 	}