summaryrefslogtreecommitdiff
path: root/app/views
diff options
context:
space:
mode:
authorCiro Santilli <ciro.santilli@gmail.com>2014-09-27 16:34:46 +0200
committerCiro Santilli <ciro.santilli@gmail.com>2014-10-01 09:03:58 +0200
commit5f10ef7c0992b6d61e06114254f4f317cd44cd61 (patch)
tree3926effbb2eb65d496f937a3606e1a925b186061 /app/views
parent88d3e97e502f0be4f01fed100a06e04b2e0f2017 (diff)
downloadgitlab-ce-5f10ef7c0992b6d61e06114254f4f317cd44cd61.tar.gz
Replace :erb filter with plain HAML.
Diffstat (limited to 'app/views')
-rw-r--r--app/views/layouts/_head.html.haml3
1 files changed, 1 insertions, 2 deletions
diff --git a/app/views/layouts/_head.html.haml b/app/views/layouts/_head.html.haml
index 0c27f679dee..fa6aecb6661 100644
--- a/app/views/layouts/_head.html.haml
+++ b/app/views/layouts/_head.html.haml
@@ -18,8 +18,7 @@
= javascript_include_tag "application"
= csrf_meta_tags
= include_gon
- :erb
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
+ %meta{name: 'viewport', content: 'width=device-width, initial-scale=1.0'}
= render 'layouts/google_analytics' if extra_config.has_key?('google_analytics_id')
= render 'layouts/piwik' if extra_config.has_key?('piwik_url') && extra_config.has_key?('piwik_site_id')