title: Rails 4.1 - ActionController::RoutingError (No route matches [GET] "/fonts/....ttf") - @font-face issues
body: <p>I feel like I tried all solutions I found here and on some blogs but something is still wrong and I have no idea what. </p>
  
  <p>My error:</p>
  
  <pre><code>...
  Started GET "/fonts/amaze.ttf" for 83.9.18.180 at 2014-11-26 09:10:21 +0000
  ...
  app[web.1]: ActionController::RoutingError (No route matches [GET] "/fonts/amaze.ttf"):
  ...
  </code></pre>
  
  <p>Of course on localhost it isn't working either.</p>
  
  <p>I am using rails 4.1.1</p>
  
  <p>My font is located in:</p>
  
  <pre><code>assets/fonts/amaze.ttf
  </code></pre>
  
  <p>I even relocated it to check if it would work: assets/amaze.ttf -it wasn't.</p>
  
  <p>My current solution in application.css.scss file:</p>
  
  <pre><code>@font-face {
    font-family: 'Amaze';
    src: font-url('amaze.ttf');
  }
  
  .amaze {
    font-family: 'Amaze';
  }
  </code></pre>
  
  <p>I tried some configuration in application.rb but had no effect:</p>
  
  <pre><code>config.assets.enabled = true  
  config.assets.paths &lt;&lt; "#{Rails.root}/app/assets/fonts"  
  config.serve_static_assets = true
  config.assets.js_compressor = :uglifier
  config.assets.compile = true
  config.assets.digest = true
  config.assets.version = '1.0'
  config.assets.paths &lt;&lt; Rails.root.join('app', 'assets', 'fonts')
  config.assets.precompile &lt;&lt; /\.(?:svg|eot|woff|ttf)\z/
  </code></pre>
  
  <p>Do I even have to configure anything in application or development/production files?</p>
  
  <hr>
  
  <p>EDIT</p>
  
  <h2>(kind of) FIXED a PROBLEM</h2>
  
  <p>The problem was that I had a broken font... </p>
  
  <p>more details:
  I had font from here <a href="http://fontzone.net/download/amaze-normal" rel="noreferrer">http://fontzone.net/download/amaze-normal</a>
  and it was broken (I mean not exactly broken, it worked on linux, but not with font-face, no idea why, if it's worth anyone's efforts give it a try to figure out what was the issue)</p>
  
  <p>I tried another font from another source:
  <a href="http://www.fontcubes.com/Amaze.font" rel="noreferrer">http://www.fontcubes.com/Amaze.font</a></p>
  
  <p>and it worked! yey! <em>-</em></p>
  
  <hr>
  
  <p>EDIT</p>
  
  <p>I had similar issue with more fonts (both otf and ttf) so I would say problem is still open ;p</p>