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

changing infobox on index

parent 27dfe15e
...@@ -45,7 +45,7 @@ module Noah ...@@ -45,7 +45,7 @@ module Noah
get '/' do get '/' do
content_type "text/html" 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 end
not_found do not_found do
......
...@@ -9,7 +9,7 @@ ...@@ -9,7 +9,7 @@
%li %li
Noah Version: #{locals[:noah_version]} Noah Version: #{locals[:noah_version]}
%li %li
Redis URL: #{locals[:redis_url]} Redis Version: #{locals[:redis_version]}
#header #header
%h2 Hosts %h2 Hosts
%ul %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