frosty
frosty

Reputation: 5370

how to set default actions in mvc

if i have the following

Url.Action("Index", "Settings");

How do ensure that the url is alway

"Settings/Index" and not "Settings"

Upvotes: 0

Views: 70

Answers (1)

SLaks
SLaks

Reputation: 887285

Remove action = "Index" from your routing table in Global.asax.

Upvotes: 2

Related Questions