Fixed language detection for our preview environment

This commit is contained in:
Godwin
2015-05-03 15:08:54 -07:00
parent 5f2a609dde
commit b1ecb5ace5
3 changed files with 16 additions and 5 deletions
+1 -1
View File
@@ -7,7 +7,7 @@
%meta{ name: 'description', content: (yield_or_default :description, I18n.t('page_descriptions.home')) }
= csrf_meta_tags
= inject_css!
- @stylesheets.each do |css|
- (@stylesheets || []).each do |css|
= inject_css! css
%link{ href: asset_path('favicon.ico'), rel: 'shortcut icon', type: 'image/x-icon' }
%link{ href: asset_path('favicon.ico'), rel: 'icon', type: 'image/x-icon' }