• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

eberfreitas / cakephp-power-router / 5
95%

Build:
DEFAULT BRANCH: master
Ran 04 Jun 2015 03:14PM UTC
Jobs 1
Files 2
Run time 1s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
5

Pull #2

travis-ci

albertboada
Fixes named routes being accidentally matched with the first route that did not have a `routeName` in the routes list. Example:

```php
// app/Config/routes.php
Router::connect('/pages/*', ['controller' => 'pages', 'action' => 'display']);
Router::connect('/login', ['controller' => 'users', 'action' => 'login'], ['routeName' => 'login']);
```

`Router::url(['routeName' => 'login'])` was returning a pages display url.
Pull Request #2: Fixes named routes being accidentally matched with the first route that did not have a `routeName` in the routes list.

42 of 44 relevant lines covered (95.45%)

1.36 hits per line

Jobs
ID Job ID Ran Files Coverage
7 5.7 (COVERALLS=1 CAKE_VERSION=2.5) 04 Jun 2015 03:14PM UTC 0
95.45
Travis Job 5.7
Source Files on build 5
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #5
  • Pull Request #2
  • PR Base - master (#3)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc