diff --git a/app/views/confirmations/new.html.erb b/app/views/confirmations/new.html.erb
index 0a0d0f21..9789f8b3 100644
--- a/app/views/confirmations/new.html.erb
+++ b/app/views/confirmations/new.html.erb
@@ -1,6 +1,6 @@
Resend confirmation instructions
-<% form_for resource, :url => confirmation_path(resource_name) do |f| %>
+<% form_for resource_name, resource, :url => confirmation_path(resource_name) do |f| %>
<%= f.error_messages %>
<%= f.label :email %>
diff --git a/app/views/passwords/edit.html.erb b/app/views/passwords/edit.html.erb
index bf7fddff..cf17f780 100644
--- a/app/views/passwords/edit.html.erb
+++ b/app/views/passwords/edit.html.erb
@@ -1,6 +1,6 @@
Change your password
-<% form_for resource, :url => password_path(resource_name), :html => { :method => :put } do |f| %>
+<% form_for resource_name, resource, :url => password_path(resource_name), :html => { :method => :put } do |f| %>
<%= f.error_messages %>
<%= f.hidden_field :reset_password_token %>
diff --git a/app/views/passwords/new.html.erb b/app/views/passwords/new.html.erb
index 37ac6fd8..b3cc5c3c 100644
--- a/app/views/passwords/new.html.erb
+++ b/app/views/passwords/new.html.erb
@@ -1,6 +1,6 @@
Forgot your password?
-<% form_for resource, :url => password_path(resource_name) do |f| %>
+<% form_for resource_name, resource, :url => password_path(resource_name) do |f| %>
<%= f.error_messages %>
<%= f.label :email %>
diff --git a/app/views/sessions/new.html.erb b/app/views/sessions/new.html.erb
index 81cf6803..b73c80dc 100644
--- a/app/views/sessions/new.html.erb
+++ b/app/views/sessions/new.html.erb
@@ -1,6 +1,6 @@
Sign in
-<% form_for resource, :url => session_path(resource_name) do |f| -%>
+<% form_for resource_name, resource, :url => session_path(resource_name) do |f| -%>
<%= f.label :email %>
<%= f.text_field :email %>