Permalink
Browse files

Merge pull request #2 from parisholley/master

Sort layers pulled in through file system
  • Loading branch information...
2 parents d92d651 + 023e24c commit d0a8b236b22298841f0797118a9c139ea0cea55c @dave-elkan committed Sep 23, 2012
Showing with 2 additions and 0 deletions.
  1. +2 −0 layers.js
View
@@ -46,6 +46,8 @@ module.exports = function(server, options) {
}
});
+ directories.sort();
+
// Ensure handlers are always loaded last.
if (hasControllers) {
directories.push("controllers");

0 comments on commit d0a8b23

Please sign in to comment.