-          %a{:href => /logout} Logout
+          = link_to 'Logout', signout_path