Skip to content

Commit

Permalink
Merge pull request #18 from jasonlewis/fix/route-declaration-override
Browse files Browse the repository at this point in the history
Allow routes to override by order of declaration. Fixes #17.
  • Loading branch information
taylorotwell committed Jan 13, 2013
2 parents 7757948 + 4dd4d70 commit b41112d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Illuminate/Routing/Router.php
Original file line number Diff line number Diff line change
Expand Up @@ -517,7 +517,7 @@ protected function getName($method, $pattern, array $action)
{
if (isset($action['as'])) return $action['as'];

return $method.' '.$pattern.' '.microtime(true);
return $method.' '.$pattern;
}

/**
Expand Down

0 comments on commit b41112d

Please sign in to comment.