Skip to content

Commit 6882e16

Browse files
authored
Update TranslatableRoutesMacro.php
1 parent fbabe61 commit 6882e16

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Macros/TranslatableRoutesMacro.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ function registerRoutes($locale, Closure $closure) {
3434
}
3535
}
3636

37-
if (!Route::hasMacro('soundex')) {
37+
if (!Route::hasMacro('localized')) {
3838
Route::macro('localized', function (Closure $closure) {
3939
$locales = config('translatable.locales');
4040
$fallbackLocale = config('translatable.fallback_locale');

0 commit comments

Comments
 (0)