title: MVC Routing: Creating sub folders
body: <p>In my current project I have quite a lot of customer things going on, so I wanted to organise it accordingly.</p>
  
  <p>I wanted my controllers to look like the following:</p>
  
  <pre><code>/Controllers/Customer/CustomerController.cs
  /Controllers/Customer/CustomerResourceController.cs
  /Controllers/Customer/CustomerDataFieldController.cs
  </code></pre>
  
  <p>And my views to look like this:</p>
  
  <pre><code>/Views/Customer/Customer/Index.cshtml
  /Views/Customer/CustomerResource/Index.cshtml
  /Views/Customer/CustomerDataField/Index.cshtml
  </code></pre>
  
  <p>I'm not sure to map this, I tried something amongst the lines of this:</p>
  
  <pre><code>        routes.MapRoute(
              "customer_routing",
              "Customer/{controller}",
              new { controller = "Customer", action = "Index" } // Parameter defaults
          );
  </code></pre>
  
  <p>Which gets my controllers correctly (I think), but how do I map my views correctly?</p>
  
  <p>Thanks,
  Thomas</p>