Skip to content

Commit

Permalink
Fix inflection (NOJIRA)
Browse files Browse the repository at this point in the history
  • Loading branch information
Benn Oshrin committed Mar 26, 2020
1 parent 251ecbf commit b31b9fd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/src/Template/Standard/index.ctp
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,7 @@ function _column_key($modelsName, $c, $tz=null) {
} elseif(!empty($a['controller'])) {
// We're linking into a related controller
print $this->Html->link(
__('match.ct.' . $a['controller'], [99]),
__('match.ct.' . Inflector::camelize(Inflector::pluralize($a['controller'])), [99]),
['controller' => $a['controller'],
'action' => $a['action'],
$tableFK => $entity->id],
Expand Down

0 comments on commit b31b9fd

Please sign in to comment.