This project is read-only.

Link to Registration from Branding.cshtml

Topics: Writing themes
May 28, 2011 at 3:37 PM

I am trying to make a link to the Registration page from the Branding page in my custom theme.

I notice that this code 

@Url.Action("Register", "Account")

Takes me to URL: /Routable/Account/Register

but I want it to take me to URL; /Users/Account/Register

what is secret to getting me there?



May 28, 2011 at 6:10 PM

@Url.Action("Register", "Account", new { area = "Orchard.Users" } )