title: Spring Web Flux cannot resolve path to static content
body: <p>I am using Spring Boot 2.0.0 M1 with WebFlux to build my sample web application. After succeeding with REST endpoints I've decided to add some views to my application. I've decided to use Thymeleaf 3.x version. I know that Spring serves static content from 4 default location:</p>
  
  <ul>
  <li>/META-INF/resources/</li>
  <li>/resources/</li>
  <li>/static/</li>
  <li>/public/</li>
  </ul>
  
  <p>I've decided to go with second example so my css file is in /resources/static/css/. However after loading my page .css file was not found. 
  This is a screenshot from my IDE:
  <a href="https://i.stack.imgur.com/R8855.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/R8855.png" alt="IDE view"></a></p>
  
  <p>I am not providing my own configuration for static directory I just want to use default one. What might be important is the fact that templates are loading just fine from the /resources/templates/ directory.</p>
  
  <p>Css file is loaded like this:</p>
  
  <pre><code>&lt;link data-th-href="@{css/bootstrap.min.css}" rel="stylesheet"&gt;
  </code></pre>
  
  <p>App is not using normal Controller class instead I've provided function as a Bean to define my router:</p>
  
  <pre><code>@Bean
  RouterFunction&lt;?&gt; router(final GeneratorHandler generatorHandler) {
      return route(GET("/generate"), handler::render);
  }
  </code></pre>
  
  <p>Any ideas what's wrong here?</p>