Skip to content
This repository has been archived by the owner on Mar 7, 2018. It is now read-only.

Commit

Permalink
The default dashboard is picked simply as the first one alphabeticall…
Browse files Browse the repository at this point in the history
…y across all OSes. Closes #97
  • Loading branch information
pushmatrix committed Aug 9, 2013
1 parent e672d84 commit 7f20315
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/dashing.rb
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ def latest_events
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
Expand Down

0 comments on commit 7f20315

Please sign in to comment.