]> Raphaƫl G. Git Repositories - airbundle/blobdiff - Repository/DanceRepository.php
Add missing translation
[airbundle] / Repository / DanceRepository.php
index 98a6ee9d8e6c2549c90bd31e4274c0f0c9228bed..251a1baa21913829941c783703a620248b93ab5b 100644 (file)
@@ -221,7 +221,7 @@ SQL;
                                        'id' => $id,
                                        'type' => $type = $this->translator->trans($name['types'][$k]),
                                        'slug' => $stype = $this->slugger->slug($type),
-                                       'link' => $this->router->generate('rapsys_air_dance_view', ['id' => $id, 'name' => $slug, 'type' => $stype])
+                                       'link' => $this->router->generate('rapsysair_dance_view', ['id' => $id, 'name' => $slug, 'type' => $stype])
                                ];
                        }
 
@@ -229,7 +229,7 @@ SQL;
                        $return[$sname = $this->slugger->short($name['name'])] = [
                                'name' => $tname,
                                'slug' => $slug,
-                               'link' => $this->router->generate('rapsys_air_dance_name', ['name' => $sname, 'dance' => $slug]),
+                               'link' => $this->router->generate('rapsysair_dance_name', ['name' => $sname, 'dance' => $slug]),
                                'types' => $types,
                                'modified' => $name['modified']
                        ];