comment where index page is specifed if no action

This commit is contained in:
Michael Atwood 2020-10-03 12:12:23 -07:00
parent 6e41cd850e
commit c2ca55627e

View File

@ -202,6 +202,7 @@
{ {
modIdPos = i + 1; modIdPos = i + 1;
actionPos = modIdPos + 1; actionPos = modIdPos + 1;
// Route to index page if no action is specifed
if (actionPos > segments.Length - 1) if (actionPos > segments.Length - 1)
{ {
action = Constants.DefaultAction; action = Constants.DefaultAction;