projects
/
rails.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
360d68e
)
Replace deprecated reset method with restore method
author
Tom Hughes
<tom@compton.nu>
Sat, 10 Jan 2015 12:37:52 +0000
(12:37 +0000)
committer
Tom Hughes
<tom@compton.nu>
Sun, 11 Jan 2015 12:53:06 +0000
(12:53 +0000)
app/controllers/user_controller.rb
patch
|
blob
|
history
diff --git
a/app/controllers/user_controller.rb
b/app/controllers/user_controller.rb
index a0514c8e986d2fdd6ead3dd7ca35b04818b33114..a7bf53824821a4559672b9d1446eccb7dc74bee3 100644
(file)
--- a/
app/controllers/user_controller.rb
+++ b/
app/controllers/user_controller.rb
@@
-742,7
+742,7
@@
private
@user.errors.set(:email, [])
end
- user.res
et
_email!
+ user.res
tore
_email!
end
end
end