From 7b5bd53c28266dc0eef7797e06fa6ce6781c5db4 Mon Sep 17 00:00:00 2001 From: Devin Howard Date: Wed, 11 Jan 2017 23:27:05 -0500 Subject: [PATCH] I think this will fix the meta tags (#1030) --- app/views/layouts/_head.html.erb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/app/views/layouts/_head.html.erb b/app/views/layouts/_head.html.erb index b0220ddf..ba8ffa05 100644 --- a/app/views/layouts/_head.html.erb +++ b/app/views/layouts/_head.html.erb @@ -16,15 +16,17 @@ <%= csrf_meta_tags %> - <% if controller == 'maps' && @map %> + <% if controller.class.name == 'MapsController' && @map %> + + <% end %> <%= stylesheet_link_tag "application", :media => "all" %>