Browse Source

Fixed 'privacy' routiung error

tags/2.0.3
Teknikode 5 years ago
parent
commit
2db5878512
1 changed files with 2 additions and 2 deletions
  1. 2
    2
      Teknik/Areas/Privacy/PrivacyAreaRegistration.cs

+ 2
- 2
Teknik/Areas/Privacy/PrivacyAreaRegistration.cs View File

@@ -17,14 +17,14 @@ namespace Teknik.Areas.Privacy
context.MapSubdomainRoute(
"Privacy.Index", // Route name
"dev",
"Privacy/{controller}/{action}", // URL with parameters
"Privacy", // URL with parameters
new { controller = "Privacy", action = "Index" }, // Parameter defaults
new[] { typeof(Controllers.PrivacyController).Namespace }
);
context.MapSubdomainRoute(
"Privacy.Index", // Route name
"privacy",
"{controller}/{action}", // URL with parameters
"", // URL with parameters
new { controller = "Privacy", action = "Index" }, // Parameter defaults
new[] { typeof(Controllers.PrivacyController).Namespace }
);

Loading…
Cancel
Save