我曾嘗試使用的ActionController :: RoutingError(無路由匹配[GET] 「/favicon.ico」)在Rails中
<link href="/favicon.ico" rel="shortcut icon" />
以及本
<link href="/assets/favicon.ico" rel="shortcut icon" />
但我仍然公共文件夾中的日誌文件
ActionController::RoutingError (No route matches [GET] "/favicon.ico"):
的favicon.ico的看到這個錯誤在那裏(我也把它在app/assets文件夾太)
如何解決此錯誤?
嘗試將favicon.ico添加到Web服務器的根目錄中,然後重試。 – Vinay