Test
This commit is contained in:
parent
067a19a264
commit
84ac5f2abf
|
@ -62,18 +62,20 @@ class Travis::Web::App
|
||||||
end
|
end
|
||||||
|
|
||||||
def call(env)
|
def call(env)
|
||||||
name = env['travis.alt'] || :default
|
# name = env['travis.alt'] || :default
|
||||||
routers[name] ||= create_router(alt: name)
|
# routers[name] ||= create_router(alt: name)
|
||||||
route = routers[name].call(env)
|
# route = routers[name].call(env)
|
||||||
puts "routers"
|
# puts "routers"
|
||||||
puts routers.inspect
|
# puts routers.inspect
|
||||||
puts "env:"
|
# puts "env:"
|
||||||
puts env
|
# puts env
|
||||||
puts "name: #{name}"
|
# puts "name: #{name}"
|
||||||
puts "route!"
|
# puts "route!"
|
||||||
puts route.inspect
|
# puts route.inspect
|
||||||
route[1]["Date"] = Time.now.httpdate
|
# route[1]["Date"] = Time.now.httpdate
|
||||||
route
|
# route
|
||||||
|
|
||||||
|
response_for("index.html")
|
||||||
end
|
end
|
||||||
|
|
||||||
private
|
private
|
||||||
|
|
Loading…
Reference in New Issue
Block a user