Admin logs improved. Commits list box styled

This commit is contained in:
Dmitriy Zaporozhets 2012-07-16 08:03:10 +03:00
parent 244a1cad62
commit 2a705c4f40
7 changed files with 58 additions and 20 deletions

View file

@ -8,7 +8,7 @@ module Gitlab
def self.read_latest
path = Rails.root.join("log/githost.log")
logs = `tail -n 50 #{path}`.split("\n")
logs = File.read(path).split("\n")
end
end
end