Sha256: 17284a73fbd4fd63d475366a701f26de04ce2f6e9173b06de3bf0c1198e5a066
Contents?: true
Size: 510 Bytes
Versions: 2
Compression:
Stored size: 510 Bytes
Contents
module RedisMonitor module Controllers class PerformanceController < BaseController include RedisMonitor::Helpers::LayoutsHelper SECTION = 'performance' def warning(params = {}) haml 'performance/warning'.to_sym, layout: main_layout, locals: {section: SECTION} end def check(params = {}) stats = Backend.performance_stats haml 'performance/check'.to_sym, layout: main_layout, locals: {stats: stats, section: SECTION} end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
redis_monitor-0.0.6 | lib/controllers/performance_controller.rb |
redis_monitor-0.0.5 | lib/controllers/performance_controller.rb |