浏览代码

Fixed bad Register page routing on dev.

Made 'About' now anonymous access.
tags/2.0.3
Teknikode 5 年前
父节点
当前提交
d88587a911
共有 2 个文件被更改,包括 2 次插入2 次删除
  1. 1
    1
      Teknik/Areas/About/Controllers/AboutController.cs
  2. 1
    1
      Teknik/Areas/Profile/ProfileAreaRegistration.cs

+ 1
- 1
Teknik/Areas/About/Controllers/AboutController.cs 查看文件

@@ -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 查看文件

@@ -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 }
);

正在加载...
取消
保存