diff options
author | pushmatrix <daniel.beauchamp@gmail.com> | 2013-08-09 18:23:00 +0200 |
---|---|---|
committer | pushmatrix <daniel.beauchamp@gmail.com> | 2013-08-09 18:24:15 +0200 |
commit | 7f2031512e5003d0d20d07bcebf248f76cfcd0a8 (patch) | |
tree | 1b04543f50460b23ac176621cb2416ea315da8bd | |
parent | e672d8423be2544cf5c9e801cb56adf44ee65e3b (diff) |
The default dashboard is picked simply as the first one alphabetically across all OSes. Closes #97
-rw-r--r-- | lib/dashing.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/dashing.rb b/lib/dashing.rb index f5b60ca..2c3a810 100644 --- a/lib/dashing.rb +++ b/lib/dashing.rb @@ -144,7 +144,7 @@ end def first_dashboard files = Dir[File.join(settings.views, '*')].collect { |f| File.basename(f, '.*') } files -= ['layout'] - files.first + files.sort.first end def tilt_html_engines |