Class: RedisWebManager::InformationController

Inherits:
ApplicationController show all
Defined in:
app/controllers/redis_web_manager/information_controller.rb

Instance Method Summary collapse

Instance Method Details

#indexObject

GET /information



6
7
8
9
10
# File 'app/controllers/redis_web_manager/information_controller.rb', line 6

def index
  @information = stats.map { |k, v| { name: k.to_s.humanize, value: v } }
  @status = info.status
  @url = connection.id
end