lib/spire/router.rb in spire-0.4.2 vs lib/spire/router.rb in spire-0.4.3
- old
+ new
@@ -11,9 +11,10 @@
@request = {"controller" => req[1], "action" => req[2]}
end
def route
@app["controller"] = nil
+
if @request["controller"] == "favicon.ico"
return self.return_file("favicon.ico")
end
if @request["controller"] == nil