Sha256: 8d87cdf1cc5a51af83b9f99f96491a44e82c6ce5db579653b88ee74d029ea77b
Contents?: true
Size: 291 Bytes
Versions: 1
Compression:
Stored size: 291 Bytes
Contents
require 'modules/helpers' require 'modules/controllers' module RedisMonitor module Router include RedisMonitor::Controllers def self.included(server) server.get('/'){ redirect '/info' } server.get('/info'){ InfoController.new(context: self).index } end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
redis_monitor-0.0.2 | lib/modules/router.rb |