Commit 8ea031e9 authored by John E. Vincent's avatar John E. Vincent

changing infobox on index

parent 27dfe15e
......@@ -45,7 +45,7 @@ module Noah
get '/' do
content_type "text/html"
haml :index, :format => :html5, :locals => {:redis_url => settings.redis_url, :noah_version => Noah::VERSION}
haml :index, :format => :html5, :locals => {:redis_version => Ohm.redis.info["redis_version"].to_s, :noah_version => Noah::VERSION}
end
not_found do
......
......@@ -9,7 +9,7 @@
%li
Noah Version: #{locals[:noah_version]}
%li
Redis URL: #{locals[:redis_url]}
Redis Version: #{locals[:redis_version]}
#header
%h2 Hosts
%ul
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment