Increases default flexibility of key length. #2

Open
wants to merge 1 commit into
from

Conversation

Projects
None yet
2 participants

phishy commented Jan 11, 2013

Increases default flexibility of key length.

Update net/http/Resources.php
Increases default flexibility of key length.
@@ -363,7 +363,7 @@ public static function export(array $resources, array $options = array()) {
}
$template = $options['prefix'] . '/{:controller:' . join('|', $names) . '}';
$template .= '/{:action:[^0-9]+}';
- $template .= '/{:id:(?:[0-9a-f]{24})|(?:\d+)}'; //'.{:type}';
@nateabele

nateabele Jan 24, 2013

Owner

Can you just change this to make the ID match a passable option?

@phishy

phishy Jan 24, 2013

:sigh:, fiiine..

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment