title: Route to static file in Play! 2.0
body: <p>I'm trying to make a route to a specific static file but everything I'm trying ends with an error.</p>
  
  <p>I've made 3 different attempts:</p>
  
  <p>1.</p>
  
  <pre><code>GET /file   staticFile:/public/html/file.html
  </code></pre>
  
  <p>The error I get:</p>
  
  <pre><code>Compilation error
  string matching regex `\z' expected but `:' found
  </code></pre>
  
  <p>2.</p>
  
  <pre><code>GET /file   controllers.Assets.at(path="/public/html", "file.html")
  </code></pre>
  
  <p>The error I get:</p>
  
  <pre><code>Compilation error
  Identifier expected
  </code></pre>
  
  <p>3.</p>
  
  <pre><code>GET /file   controllers.Assets.at(path="/public/html", file="file.html")
  </code></pre>
  
  <p>The error I get: (and this is the weirdest)</p>
  
  <pre><code>Compilation error
  not enough arguments for method at: (path: String, file: String)play.api.mvc.Call. Unspecified value parameter file.
  </code></pre>
  
  <p>The weird part about the 3rd error is that it's thrown in a different file (app/views/main.scala.html) on the following line:</p>
  
  <pre><code>&lt;link rel="stylesheet" media="screen" href="@routes.Assets.at("stylesheets/main.css")"&gt;
  </code></pre>
  
  <p>All of these methods were found in the official documentation and/or threads here on stackoverflow.
  What am I missing here?</p>
  
  <p>Thanks.</p>