title: How to register RouterFunction in @Bean method in Spring Boot 2.0.0.M2?
body: <p>I'm playing around with Spring 5 features and I'm having some trouble registering <code>RouterFunction</code>, it will be read, but not mapped. (Tried by throwing exception in the method.)</p>
  
  <pre><code>@Configuration
  @RequestMapping("/routes")
  public class Routes {
    @Bean
    public RouterFunction&lt;ServerResponse&gt; routingFunction() {
      return RouterFunctions.route(RequestPredicates.path("/asd"), req -&gt; ok().build());
    }
  }
  </code></pre>
  
  <p>Going to <code>/routes/asd</code> results in 404, any clues on what I'm doing wrong? 
  (I also tried without this <code>@RequestMapping</code> to <code>/routes</code>, it also returned 404 for <code>/asd</code>)</p>