]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/layouts/_header.html.erb
Fix some tests for changes in rails 5
[rails.git] / app / views / layouts / _header.html.erb
index 2b7d6313e358b1f9cc760d12141537e0db330bb3..262989752706e10951415b19fd85ac413a494964 100644 (file)
@@ -80,7 +80,7 @@
             <%= yield :greeting %>
           </li>
           <li>
-            <%= link_to t('layouts.logout'), logout_path(:session => request.session_options[:id], :referer => request.fullpath) %>
+            <%= link_to t('layouts.logout'), logout_path(:session => session.id, :referer => request.fullpath) %>
           </li>
         </ul>
       </div>