From 7f2031512e5003d0d20d07bcebf248f76cfcd0a8 Mon Sep 17 00:00:00 2001 From: pushmatrix Date: Fri, 9 Aug 2013 18:23:00 +0200 Subject: The default dashboard is picked simply as the first one alphabetically across all OSes. Closes #97 --- lib/dashing.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib') 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 -- cgit v1.2.3