我收到以下錯誤:的ActionController :: RoutingError的字體在Rails 4.1
ActionController::RoutingError (No route matches [GET] "/assets/fonts/material-icons/Material-Design-Iconic-Font.ttf")
這裏是我的css.scss調用文件:
@font-face {
font-family: 'Material Design Iconic Font';
src: font-url('/assets/fonts/material-icons/Material-Design-Iconic-Font.eot?v=1.0.1');
src: font-url('/assets/fonts/material-icons/Material-Design-Iconic-Font.eot?#iefix&v=1.0.1') format('embedded-opentype'), font-url('/assets/fonts/material-icons/Material-Design-Iconic-Font.woff?v=1.0.1') format('woff'), font-url('/assets/fonts/material-icons/Material-Design-Iconic-Font.ttf?v=1.0.1') format('truetype'), font-url('/assets/fonts/material-icons/Material-Design-Iconic-Font.svg?v=1.0.1#Material-Design-Iconic-Font') format('svg');
font-weight: normal;
font-style: normal;
}
我知道這個文件是存在的。我也遇到了所有其他文件的相同錯誤。我使用Rails 4.1
不錯的追求你爲什麼不問盧克? ;) – maudulus