mirror of
https://git.teknik.io/Teknikode/Teknik.git
synced 2023-08-02 14:16:22 +02:00
Fixed 'privacy' routiung error
This commit is contained in:
parent
c6fdf82486
commit
2db5878512
@ -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…
Reference in New Issue
Block a user