lib/kthxbye/web_interface/views/stats.haml in kthxbye-1.2.1 vs lib/kthxbye/web_interface/views/stats.haml in kthxbye-1.3.0
- old
+ new
@@ -1,8 +1,8 @@
- @sub_tabs = %w(kthxbye redis keys)
%h2
- Stats about #{params[:id] || params[:key]}
+ Stats for #{params[:id] || params[:key] || "kthxbye"}
%p
- if params[:key]
- type = Kthxbye.redis.type(params[:key])
= type == "list" ? "<span style='color:red'>No support for displaying redis lists</span>" : partial(type)