Sha256: 41984ddd85e0a54cf27bb2c075cf3cbd51b2d57f5fc7471ada40733cae62c7d8

Contents?: true

Size: 240 Bytes

Versions: 17

Compression:

Stored size: 240 Bytes

Contents

class Home
	
	include Renderer
	
	def call(env)
		[200,{"Content-Type" => "text/html"},[render("home")]]
	end
	
	def servers
		Reader.servers
	end
	
	Routes.add_route new, { :request_method => 'GET', :path_info => %r{^/$} }, {}, :home
	
end

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
city-watch-0.7.9 lib/city_watch/commander/home.rb
city-watch-0.7.8 lib/city_watch/commander/home.rb
city-watch-0.7.7 lib/city_watch/commander/home.rb
city-watch-0.7.6 lib/city_watch/commander/home.rb
city-watch-0.7.5 lib/city_watch/commander/home.rb
city-watch-0.7.4 lib/city_watch/commander/home.rb
city-watch-0.7.3 lib/city_watch/commander/home.rb
city-watch-0.7.2 lib/city_watch/commander/home.rb
city-watch-0.7.1 lib/city_watch/commander/home.rb
city-watch-0.7.0 lib/city_watch/commander/home.rb
city-watch-0.6.9 lib/city_watch/commander/home.rb
city-watch-0.6.8 lib/city_watch/commander/home.rb
city-watch-0.6.7 lib/city_watch/commander/home.rb
city-watch-0.6.6 lib/city_watch/commander/home.rb
city-watch-0.6.5 lib/city_watch/commander/home.rb
city-watch-0.6.4 lib/city_watch/commander/home.rb
city-watch-0.6.3 lib/city_watch/commander/home.rb