title: Generic routing
body: <p>I would like to know if it's possible to make a generic route in Play Framework.</p>
  
  <p>In MVC.Net you can do something like this:</p>
  
  <pre><code>routes.MapRoute("Default",                                             // Route name
                  "{controller}/{action}/{id}",                          // URL with parameters
                  new { controller = "Home", action = "Index", id = "" } // Parameter defaults);
  </code></pre>
  
  <p>With the above route, a lot of urls are covered. So it handles:</p>
  
  <pre><code>/customers
  /customers/add
  /orders/edit/29
  etc.
  </code></pre>
  
  <p>When I want to do this in the <a href="https://www.playframework.com/documentation/2.4.x/ScalaRouting" rel="nofollow">Scala Play routing</a> I have to declare a route for each url.</p>
  
  <p>My questions is if it's possible to have some sort of generic routing in Play framework?</p>