Sha256: 5ec3c93c67d4a210c4b0ffac2ec628bf05d6959c5d3179a1e2f5b60b149f9290

Contents?: true

Size: 354 Bytes

Versions: 1

Compression:

Stored size: 354 Bytes

Contents

class PasswordsController < Devise::PasswordsController
  protected
  def after_sending_reset_password_instructions_path_for(resource_name)
    flash[:alert]=t("devise.passwords.send_instructions")
    Mokio::Engine.routes.url_helpers.root_path<<new_user_session_path[1..-1] #delete one slash to prevent link like this: /backend//users/sign_in
  end

end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
mokio-0.0.13 app/controllers/passwords_controller.rb