Skip to content

Commit

Permalink
Fix a bug introduced in last release refactoring.
Browse files Browse the repository at this point in the history
  • Loading branch information
josevalim committed Oct 28, 2009
1 parent d613c25 commit 9668640
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion app/views/confirmations/new.html.erb
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<h2>Resend confirmation instructions</h2>

<% 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 %>

<p><%= f.label :email %></p>
Expand Down
2 changes: 1 addition & 1 deletion app/views/passwords/edit.html.erb
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<h2>Change your password</h2>

<% 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 %>

Expand Down
2 changes: 1 addition & 1 deletion app/views/passwords/new.html.erb
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<h2>Forgot your password?</h2>

<% 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 %>

<p><%= f.label :email %></p>
Expand Down
2 changes: 1 addition & 1 deletion app/views/sessions/new.html.erb
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<h2>Sign in</h2>

<% form_for resource, :url => session_path(resource_name) do |f| -%>
<% form_for resource_name, resource, :url => session_path(resource_name) do |f| -%>
<p><%= f.label :email %></p>
<p><%= f.text_field :email %></p>

Expand Down

0 comments on commit 9668640

Please sign in to comment.