瀏覽代碼

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

Loading…
取消
儲存