Permalink
Browse files

feature(routing): Render categories page with view

  • Loading branch information...
ewinslow committed May 27, 2015
1 parent 6c63b0d commit 1ae65c539a4d7bc2e64c18a0310a803963c9f467
View
@@ -31,7 +31,7 @@ function categories_init() {
* @return bool
*/
function categories_page_handler() {
- include(dirname(__FILE__) . "/pages/categories/listing.php");
+ echo elgg_view('resources/categories/listing');
return true;
}

0 comments on commit 1ae65c5

Please sign in to comment.