Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

ordering the latest pastes with latest first

  • Loading branch information...
commit 7e3f82bc92c478cf4b823735ae5c70ca69cf43b3 1 parent f225237
@alkemann alkemann authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  controllers/PastesController.php
View
2  controllers/PastesController.php
@@ -23,7 +23,7 @@ class PastesController extends \lithium\action\Controller {
* @return array
*/
public function index() {
- return array('latest' => Paste::latest(array('limit' => 10)));
+ return array('latest' => Paste::latest(array('limit' => 10, 'descending' => 'true')));
}
/**
Please sign in to comment.
Something went wrong with that request. Please try again.