소스 검색

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');
 		}
 		
 	}