Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

list 10 logs

  • Loading branch information...
commit 5e42eab81234ef338706c87aeee495a5c1cf4e34 1 parent 1fe84ff
@jugyo authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/tester/server.rb
View
2  lib/tester/server.rb
@@ -8,7 +8,7 @@ class Server < Sinatra::Base
set :lock, true
get '/' do
- @logs = Log.logs.map {|key| Log[key]}
+ @logs = Log.logs[0..10].map {|key| Log[key]}
haml :index
end
Please sign in to comment.
Something went wrong with that request. Please try again.