summaryrefslogtreecommitdiff
path: root/lib/dashing.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/dashing.rb')
-rw-r--r--lib/dashing.rb2
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