<h1>Log in</h1>

<%= form_for :session, url: '/login'  do |f| %>
  <%= f.text_field :name %>
  <%= f.password_field :password %>
  <%= f.submit "Login" %>
<% end %>
<h1>Log in</h1>

<%= form_for :user, url: '/login'  do |f| %>
  <%= f.text_field :name %>
  <%= f.password_field :password %>
  <%= f.submit "Login" %>
<% end %>
Fix login form to post new :user to '/login'.
Fix login form to post new :user to '/login'.
