lib/spire/router.rb in spire-0.4.3 vs lib/spire/router.rb in spire-0.4.4

- old
+ new

@@ -13,10 +13,12 @@ def route @app["controller"] = nil if @request["controller"] == "favicon.ico" - return self.return_file("favicon.ico") + favicon = Public.new + response = favicon.return_file!("favicon.ico") + return Response.new(response, "image/x-icon", 200) end if @request["controller"] == nil route = @routes['default'].split("#") @app["controller"] = route[0].capitalize