Browse Source

Merge pull request #4282 from m1guelpf/patch-1

Dynamic changing locale
Taylor Otwell 7 years ago
parent
commit
a9268c5f58
1 changed files with 1 additions and 1 deletions
  1. 1 1
      resources/views/welcome.blade.php

+ 1 - 1
resources/views/welcome.blade.php

@@ -1,5 +1,5 @@
 <!doctype html>
-<html lang="{{ config('app.locale') }}">
+<html lang="{{ app()->getLocale() }}">
     <head>
         <meta charset="utf-8">
         <meta http-equiv="X-UA-Compatible" content="IE=edge">