Sha256: bda38fbe30b90119227b1a1a86115cea37a9e824b50110b153aad2e2b06059f4
Contents?: true
Size: 634 Bytes
Versions: 1
Compression:
Stored size: 634 Bytes
Contents
require 'sinatra' require 'haml' require 'modules/router' require 'modules/security/authorization' require 'will_paginate/view_helpers/sinatra' require 'will_paginate-bootstrap' module RedisMonitor class Server < Sinatra::Base include RedisMonitor::Router include RedisMonitor::Helpers::LayoutsHelper include WillPaginate::Sinatra::Helpers include PaginationHelper set :public_folder, File.dirname(__FILE__) + '/../static' set :views, File.dirname(__FILE__) + '/../views' def self.config(arguments) set :server, arguments[:http_server] set :port, arguments[:http_port] end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
redis_monitor-0.0.6 | lib/server/server.rb |