comment where index page is specifed if no action
This commit is contained in:
parent
6e41cd850e
commit
c2ca55627e
@ -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;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user