Exemple #1
0
 /**
  * Little fix to allow mixed regexp and rails routes in the router
  * @see lib/ezc/MvcTools/src/routes/ezcMvcRegexpRoute::prefix()
  */
 public function prefix($prefix)
 {
     // Detect the Regexp delimiter
     $patternDelim = $this->pattern[0];
     // Add the Regexp delimiter to the prefix
     $prefix = $patternDelim . $prefix . $patternDelim;
     parent::prefix($prefix);
 }