Created
October 15, 2010 22:56
-
-
Save robi42/629109 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| diff --git a/actions.js b/actions.js | |
| index cccc9f0..a87d4bb 100644 | |
| --- a/actions.js | |
| +++ b/actions.js | |
| @@ -28,7 +28,7 @@ exports.edit = function(req, name) { | |
| exports.list = function(req) { | |
| return Response.skin(module.resolve('./skins/list.html'), { | |
| - pages: Page.all().sort(strings.Sorter('name'))}); | |
| + pages: Page.query().orderBy('name').select()}); | |
| }; | |
| function updatePage(page, req) { | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment