require_dependency "ajo_register/application_controller"
class AjoRegister::PasswordsController < Devise::PasswordsController

  def new
    super
  end

  def create
    self.resource = resource_class.send_reset_password_instructions(resource_params)

    if successfully_sent?(resource)
      respond_with({}, :location => after_sending_reset_password_instructions_path_for(resource_name))
    else
      redirect_to request.fullpath
    end
  end

  def destroy
    super
  end

  def edit
    super
  end

  def update
    super
  end

end
require_dependency "ajo_register/application_controller"
class AjoRegister::PasswordsController < Devise::PasswordsController

  def new
    super
  end

  def create
    self.resource = resource_class.send_reset_password_instructions(resource_params)

    if successfully_sent?(resource)
      respond_with({}, :location => after_sending_reset_password_instructions_path_for(resource_name))
    else
      redirect_to :back
    end
  end

  def destroy
    super
  end

  def edit
    super
  end

  def update
    super
  end

end
Add after sign up path
Add after sign up path
