From fb050d402f8f6513b306ff13834d677e75aa9822 Mon Sep 17 00:00:00 2001 From: Davide Cesarano Date: Thu, 15 Jun 2017 14:36:10 +0200 Subject: [PATCH] Aggiunte rotte per la traduzione --- app/Routes.php | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/app/Routes.php b/app/Routes.php index d1d66a6..c9b38f1 100644 --- a/app/Routes.php +++ b/app/Routes.php @@ -9,6 +9,12 @@ */ $router->get('', 'Page@index'); + /** + * Traduzioni + */ + $router->get('it', ['middleware' => 'Language:it', 'Page@index']); + $router->get('en', ['middleware' => 'Language:en', 'Page@index']); + /** * Page */