lib/generators/templates/passwords_controller.erb in janus-0.9.1 vs lib/generators/templates/passwords_controller.erb in janus-0.10.0
- old
+ new
@@ -1,9 +1,9 @@
class <%= class_name.pluralize %>::PasswordsController < Janus::PasswordsController
respond_to :html
# def deliver_reset_password_instructions(<%= singular_name %>)
- # <%= class_name %>Mailer.reset_password_instructions(<%= singular_name %>).deliver
+ # <%= class_name %>Mailer.reset_password_instructions(<%= singular_name %>).<%= delivery_method %>
# end
# def after_password_change_url(<%= singular_name %>)
# root_url
# end