mirror of
https://github.com/heartcombo/devise.git
synced 2022-11-09 12:18:31 -05:00
Update CHANGELOG.
This commit is contained in:
parent
42b07f1f47
commit
5645d733ba
2 changed files with 2 additions and 2 deletions
|
@ -11,6 +11,7 @@
|
||||||
* Do not convert booleans to strings on finders (by github.com/xavier)
|
* Do not convert booleans to strings on finders (by github.com/xavier)
|
||||||
* Run validations even if current_password fails (by github.com/crx)
|
* Run validations even if current_password fails (by github.com/crx)
|
||||||
* Devise now honors routes constraints (by github.com/macmartine)
|
* Devise now honors routes constraints (by github.com/macmartine)
|
||||||
|
* Do not return the user resource when requesting instructions (by github.com/rodrigoflores)
|
||||||
|
|
||||||
== 1.3.4
|
== 1.3.4
|
||||||
|
|
||||||
|
|
|
@ -14,13 +14,12 @@ class Devise::PasswordsController < ApplicationController
|
||||||
|
|
||||||
if successful_and_sane?(resource)
|
if successful_and_sane?(resource)
|
||||||
set_flash_message(:notice, :send_instructions) if is_navigational_format?
|
set_flash_message(:notice, :send_instructions) if is_navigational_format?
|
||||||
respond_with {}, :location => after_sending_reset_password_instructions_path_for(resource_name)
|
respond_with({}, :location => after_sending_reset_password_instructions_path_for(resource_name))
|
||||||
else
|
else
|
||||||
respond_with_navigational(resource){ render_with_scope :new }
|
respond_with_navigational(resource){ render_with_scope :new }
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
||||||
# GET /resource/password/edit?reset_password_token=abcdef
|
# GET /resource/password/edit?reset_password_token=abcdef
|
||||||
def edit
|
def edit
|
||||||
self.resource = resource_class.new
|
self.resource = resource_class.new
|
||||||
|
|
Loading…
Reference in a new issue