| Conditions | 1 |
| Paths | 1 |
| Total Lines | 10 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 29 | protected function addResourceShowExtra($name, $base, $controller, $options) |
||
| 30 | { |
||
| 31 | $uri = $this->getResourceUri($name) . '/{' . $base . '}/{extra}'; |
||
| 32 | |||
| 33 | $action = $this->getResourceAction($name, $controller, 'show', $options); |
||
| 34 | |||
| 35 | $action['as'] .= '.extra'; |
||
| 36 | |||
| 37 | return $this->router->get($uri, $action)->where('extra', '.*'); |
||
| 38 | } |
||
| 39 | } |
||
| 40 |