app/views/layouts/admin.html.erb in tkh_admin_panel-0.2.7 vs app/views/layouts/admin.html.erb in tkh_admin_panel-0.2.8
- old
+ new
@@ -14,9 +14,10 @@
<%= favicon_link_tag %>
<link href="images/apple-touch-icon.png" rel="apple-touch-icon">
<link href="images/apple-touch-icon-72x72.png" rel="apple-touch-icon" sizes="72x72">
<link href="images/apple-touch-icon-114x114.png" rel="apple-touch-icon" sizes="114x114">
<%= csrf_meta_tag %>
+ <script type="text/javascript">var tkh_locale = '<%= I18n.locale.to_s %>';</script>
</head>
<body>
<div class="container-fluid">