Skip to content

Commit

Permalink
list 10 logs
Browse files Browse the repository at this point in the history
  • Loading branch information
jugyo committed Jan 5, 2010
1 parent 1fe84ff commit 5e42eab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/tester/server.rb
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ class Server < Sinatra::Base
set :lock, true set :lock, true


get '/' do get '/' do
@logs = Log.logs.map {|key| Log[key]} @logs = Log.logs[0..10].map {|key| Log[key]}
haml :index haml :index
end end


Expand Down

0 comments on commit 5e42eab

Please sign in to comment.