Skip to content

Commit

Permalink
Discover blank
Browse files Browse the repository at this point in the history
  • Loading branch information
schulbaumO committed Feb 26, 2014
1 parent 2077ee6 commit 52da0cf
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions controller/discover.php
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ public function index () {

// cada tipo tiene sus grupos
foreach ($types as $type) {
$projects = Model\Project::published($type, $limit);
$projects = Model\Project::published($type);
if (empty($projects)) continue;
$viewData['lists'][$type] = Listing::get($projects);
}
Expand Down Expand Up @@ -114,7 +114,6 @@ public function results ($category = null) {
array(
'message' => $message,
'results' => $results,
'query' => $query,
'params' => $params
)
);
Expand Down Expand Up @@ -157,6 +156,7 @@ public function view ($type = 'all') {

}

}
}

}
}

0 comments on commit 52da0cf

Please sign in to comment.