title: Map Routes for Pagination in MVC
body: <p>I am using a Pagination class very similar to the one used in the NerdDinner example.  The pagination aspect works fine but I am struggling with getting all the routes to work properly.</p>
  
  <p>Currently we have one <code>MapRoute</code> set:</p>
  
  <pre><code>        routes.MapRoute(
              "Default", // Route name
              "{controller}/{action}/{id}/{page}", // URL with parameters
              new
              {
                  controller = "Home",
                  action = "Index",
                  id = UrlParameter.Optional,
                  page = UrlParameter.Optional
              } // Parameter defaults
          );
  </code></pre>
  
  <p>We want the URL to be, instead of <code>/mycontroller/myaction/1/5</code>, to be <code>/mycontroller/myaction/1/page5</code> so it makes more sense to the user. I cannot find a way to do this at the moment.</p>
  
  <p>Secondly how do we set up the routes so that actions can used with pagination too.  I.e. <code>/controller/page1</code> instead of <code>/controller/index/page1</code></p>