title: How to link to areas in MVC4
body: <p>I am not sure if Areas are part of VS11 or MVC4, but it seems very good for organizing a big project. But I have troubles linking to Controllers in Areas.</p>
  
  <p>Edit: This works now and code is updated</p>
  
  <p>There is a screenshot of my project here <a href="http://www.gratisimage.dk/graphic/images/2011/October/30/724D_4EAD44CD.jpg" rel="nofollow">http://www.gratisimage.dk/graphic/images/2011/October/30/724D_4EAD44CD.jpg</a></p>
  
  <p>I have 2 links</p>
  
  <pre><code>@Html.ActionLink("Create Vehicle", "CreateVehicle", "Vehicle", new { area = "Units" }, null)
  @Html.ActionLink("Index", "Index", "Vehicle", new { area = "Units" }, null)
  </code></pre>
  
  <p>And my Controller</p>
  
  <pre><code>using System;
  using System.Collections.Generic;
  using System.Linq;
  using System.Web;
  using System.Web.Mvc;
  
  namespace unoeurotest.Areas.Units.Controllers
  {
      public class VehicleController : Controller
      {
  
          public ActionResult Index()
          {
              return View();
          }
  
          public ActionResult CreateVehicle()
          {
              return View();
          }
  
      }
  }
  </code></pre>