Browse Source

Merge pull request #4781 from ankurk91/patch/lang-attribute

[5.7] Update lang attribute
Taylor Otwell 5 years ago
parent
commit
5b7f3b2061
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="{{ app()->getLocale() }}">
+<html lang="{{ str_replace('_', '-', app()->getLocale()) }}">
     <head>
         <meta charset="utf-8">
         <meta name="viewport" content="width=device-width, initial-scale=1">