]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/layouts/_head.html.erb
Update to rails 3
[rails.git] / app / views / layouts / _head.html.erb
index a262e0b76e29fcfa4d9191bf627be7ed9214a6f5..5dfc49aa039624fdd8a47bb33b710d0651fe30ec 100644 (file)
@@ -2,6 +2,7 @@
   <meta name="viewport" content="width=device-width, minimum-scale=1.0, maximum-scale=1.0"/>
   <%= javascript_strings %>
   <%= javascript_include_tag 'prototype' %>
   <meta name="viewport" content="width=device-width, minimum-scale=1.0, maximum-scale=1.0"/>
   <%= javascript_strings %>
   <%= javascript_include_tag 'prototype' %>
+  <%= javascript_include_tag 'rails' %>
   <%= javascript_include_tag 'site' %>
   <%= javascript_include_tag 'menu' %>
   <!--[if lt IE 7]><%= javascript_include_tag 'pngfix' %><![endif]--> <!-- thanks, microsoft! -->
   <%= javascript_include_tag 'site' %>
   <%= javascript_include_tag 'menu' %>
   <!--[if lt IE 7]><%= javascript_include_tag 'pngfix' %><![endif]--> <!-- thanks, microsoft! -->
@@ -16,5 +17,6 @@
   <%= tag("meta", { :name => "description", :content => "OpenStreetMap is the free wiki world map." }) %>
   <%= style_rules %>
   <%= yield :head %>
   <%= tag("meta", { :name => "description", :content => "OpenStreetMap is the free wiki world map." }) %>
   <%= style_rules %>
   <%= yield :head %>
+  <%= csrf_meta_tag %>
   <title><%= t 'layouts.project_name.title' %><%= ' | '+ h(@title) if @title %></title>
 </head>
   <title><%= t 'layouts.project_name.title' %><%= ' | '+ h(@title) if @title %></title>
 </head>