From dd2e930edc5d9e3b8ea0c5f4d2b056ab2458d99f Mon Sep 17 00:00:00 2001 From: Devin Howard Date: Wed, 11 Jan 2017 23:21:06 -0500 Subject: [PATCH] I think this will fix the meta tags --- 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" %>