lib/authpwn_rails/generators/templates/session/new.html.erb in authpwn_rails-0.7.3 vs lib/authpwn_rails/generators/templates/session/new.html.erb in authpwn_rails-0.7.4
- old
+ new
@@ -9,10 +9,10 @@
We need you to log in before we can show you the page that you are trying to
view.
</p>
<% end %>
-<%= form_for User.new, :url => session_path do |f| %>
+<%= form_for @user, :url => session_path do |f| %>
<div class="field">
<%= f.label :email, 'Email Address' %><br />
<%= f.email_field :email %>
</div>