how to set route config
<p>hi i have a flight booking website i set route </p>

<pre><code>routes.MapRoute(
"RouteFlights",
"{action}/{path}/{date}/{clock}/{count}",
new { controller = "Flight", 
action = "flights",
path = UrlParameter.Optional, 
date = UrlParameter.Optional, 
clock = UrlParameter.Optional, 
count = UrlParameter.Optional }
,new[] { "parvaz24pro.Controllers" }
);
</code></pre>

<p>and </p>

<pre><code>[Route("flights/{path}/{date}/{clock}/{count}")]
public ActionResult flights(string path, string date...   
</code></pre>

<p>it worked  only for urls like
 "www.site.com/flights/source-dest/2016-2-16/1/1"
 but not worked for  "www.site.com/flights/source-dest/2016-2-16"
 full route config link 
 <a href="http://preschool-doosti.com/RouteConfig.zip" rel="nofollow">http://preschool-doosti.com/RouteConfig.zip</a><br>
 i can not find a solution</p>