Skip to content

Commit

Permalink
sort note list
Browse files Browse the repository at this point in the history
  • Loading branch information
doortts committed Aug 10, 2012
1 parent 8a9dc39 commit ad364a5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wikiApp.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ list = (req, res, selectedPageName) ->

res.render 'pages',
title: 'Pages'
pages: pages
pages: _.sortBy pages, 'name'
selectedPageName: pageName
selectedPageContent: renderer.markdown page.content
deletedPageName: req.query.deletedPageName
Expand Down

0 comments on commit ad364a5

Please sign in to comment.