top button
Flag Notify
    Connect to us
      Site Registration

Site Registration

Is the following route definition a valid route definition? {controller}{action}/{id}

+2 votes
187 views
Is the following route definition a valid route definition? {controller}{action}/{id}
posted May 15, 2015 by Shivaranjini

Share this question
Facebook Share Button Twitter Share Button LinkedIn Share Button

1 Answer

+1 vote

No, the above definition is not a valid route definition, because there is no literal value or delimiter between the placeholders. Therefore, routing cannot determine where to separate the value for the controller placeholder from the value for the action placeholder.

answer May 19, 2015 by Manikandan J
...