From b31b9fdf1d481b03113a10683a5dd5e6fd7ab4a7 Mon Sep 17 00:00:00 2001 From: Benn Oshrin Date: Thu, 26 Mar 2020 07:10:30 -0400 Subject: [PATCH] Fix inflection (NOJIRA) --- app/src/Template/Standard/index.ctp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/Template/Standard/index.ctp b/app/src/Template/Standard/index.ctp index 69939c365..34315995e 100644 --- a/app/src/Template/Standard/index.ctp +++ b/app/src/Template/Standard/index.ctp @@ -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],