thecodingmachine/mvc.splash-common

Issues while define multiple parameterized routes

Closed this issue · 0 comments

Ngob commented

While defining multiple paramatized route with @url annotation, I got an error.
Example:
In my controller:

 /**
     * @URL espace-client
     * @URL espace-client/{path}
     * 
     */
    public function index($path = null) {
   echo "foo" 
}

And my error, when I go on [domain.name/espace-client]:

image

Thanks.