We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8d0011e commit 081dcf1Copy full SHA for 081dcf1
tests/Unit/Macros/LocalizedRoutesMacroTest.php
@@ -62,8 +62,7 @@ public function it_registers_a_root_route_for_each_locale()
62
public function it_registers_a_url_without_prefix_for_a_configured_main_locale()
63
{
64
$this->setSupportedLocales(['en', 'nl']);
65
-
66
- Config::set('localized-routes.omit_url_prefix_for_locale', 'en');
+ $this->setOmitUrlPrefixForLocale('en');
67
68
Route::localized(function () {
69
Route::get('about', function () {})
0 commit comments