From b5df47fc1bc068a0473ac3755e3a1533025c3006 Mon Sep 17 00:00:00 2001 From: Robert Garrigos Date: Sat, 18 Apr 2020 13:17:46 +0200 Subject: [PATCH] wrong documentation on default routing set default routing to localization.js on readme --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index a6910e3..adbfa2b 100644 --- a/README.md +++ b/README.md @@ -120,7 +120,7 @@ Second way would be to request it over HTTP just like any other file ```html ``` @@ -194,7 +194,7 @@ Laravel 5.4+ allows localization to be strutured [using a single `.json` file fo ## Routing -This package exposes one route `http://localhost/js/lang.js` by default but you can change the prefix to anything you whish in config file. +This package exposes one route `http://localhost/js/localization.js` by default but you can change the prefix to anything you whish in config file. You can also have a nice route name for blade templates or any other route calls, it's `route('assets.lang')` by default but it's customizable by config/environment file.