Class: RedisWebManager::InformationController
- Inherits:
-
ApplicationController
- Object
- ActionController::Base
- ApplicationController
- RedisWebManager::InformationController
- Defined in:
- app/controllers/redis_web_manager/information_controller.rb
Instance Method Summary collapse
-
#index ⇒ Object
GET /information.
Instance Method Details
#index ⇒ Object
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 |