Remove unnecessary routes
This commit is contained in:
parent
53aca10781
commit
fbb1fcb566
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -2,6 +2,7 @@ bin
|
|||
obj
|
||||
/.vscode
|
||||
/.vs/FIT5032-Assignment
|
||||
/.vs
|
||||
packages/
|
||||
FIT5032-Assignment/App_Data/FIT5032_Assignment.mdf
|
||||
FIT5032-Assignment/App_Data/FIT5032_Assignment_log.ldf
|
||||
|
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
@ -19,12 +19,6 @@ namespace FIT5032_Assignment
|
|||
url: "{action}/{id}",
|
||||
defaults: new { controller = "Home", action = "Index", id = UrlParameter.Optional }
|
||||
);
|
||||
|
||||
routes.MapRoute(
|
||||
name: "HomeAlternative",
|
||||
url: "{controller}/{action}/{id}",
|
||||
defaults: new { controller = "Home", action = "Index", id = UrlParameter.Optional }
|
||||
);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Binary file not shown.
Loading…
Reference in New Issue
Block a user