Browse Source

Fixed bad Register page routing on dev.

Made 'About' now anonymous access.
tags/2.0.3
Teknikode 5 years ago
parent
commit
d88587a911

+ 1
- 1
Teknik/Areas/About/Controllers/AboutController.cs View File

@@ -10,7 +10,7 @@ namespace Teknik.Areas.About.Controllers
{
public class AboutController : DefaultController
{
//[AllowAnonymous]
[AllowAnonymous]
public ActionResult Index()
{
ViewBag.Title = "About - " + Config.Title;

+ 1
- 1
Teknik/Areas/Profile/ProfileAreaRegistration.cs View File

@@ -31,7 +31,7 @@ namespace Teknik.Areas.Profile
context.MapSubdomainRoute(
"Profile.Register", // Route name
"dev",
"Profile/Login", // URL with parameters
"Profile/Register", // URL with parameters
new { controller = "Profile", action = "Register" }, // Parameter defaults
new[] { typeof(Controllers.ProfileController).Namespace }
);

Loading…
Cancel
Save