@@ -36,8 +36,7 @@ |
||
| 36 | 36 | $properties['locale'] = $locale; |
| 37 | 37 | $user->saveProperties($properties); |
| 38 | 38 | } |
| 39 | - } |
|
| 40 | - elseif($request->routeIs('jaxon')) |
|
| 39 | + } elseif($request->routeIs('jaxon')) |
|
| 41 | 40 | { |
| 42 | 41 | // For Jaxon requests, try to get the current locale from the database. |
| 43 | 42 | $locale = $user->properties['locale'] ?? LaravelLocalization::getCurrentLocale(); |