about summary refs log tree commit diff
path: root/app/views/layouts/application.html.haml
diff options
context:
space:
mode:
authorMatt Jankowski <mjankowski@thoughtbot.com>2017-04-20 07:09:31 -0400
committerEugen <eugen@zeonfederated.com>2017-04-20 13:09:31 +0200
commit598d3defd5f7ad84ed0c264280f17f404eb45314 (patch)
tree65bef620cc0640502bfae3fb6641f19d170bc8db /app/views/layouts/application.html.haml
parent7f8044d91302adbece04db9586384b1a79ef1a6e (diff)
Use default locale for html lang in layouts (#2212)
Diffstat (limited to 'app/views/layouts/application.html.haml')
-rwxr-xr-xapp/views/layouts/application.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/layouts/application.html.haml b/app/views/layouts/application.html.haml
index fa5811fd8..f6e06f884 100755
--- a/app/views/layouts/application.html.haml
+++ b/app/views/layouts/application.html.haml
@@ -1,5 +1,5 @@
 !!! 5
-%html{:lang => 'en'}
+%html{:lang => I18n.locale}
   %head
     %meta{:charset => 'utf-8'}/
     %meta{:name => 'viewport', :content => 'width=device-width, initial-scale=1'}/