Sha256: 639ad23c429937a22e6f44e1f0de3339e722b3875484429f286aec9adff9b0d0

Contents?: true

Size: 413 Bytes

Versions: 13

Compression:

Stored size: 413 Bytes

Contents

# frozen_string_literal: true
module ThinkFeelDoEngine
  module Users
    # Customize User password actions.
    class PasswordsController < Devise::PasswordsController
      protected

      def after_resetting_password_path_for(_resource)
        if defined?(think_feel_do_dashboard)
          think_feel_do_dashboard.root_path
        else
          privacy_policy_path
        end
      end
    end
  end
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
think_feel_do_engine-3.22.9 app/controllers/think_feel_do_engine/users/passwords_controller.rb
think_feel_do_engine-3.22.8 app/controllers/think_feel_do_engine/users/passwords_controller.rb
think_feel_do_engine-3.22.7 app/controllers/think_feel_do_engine/users/passwords_controller.rb
think_feel_do_engine-3.22.6 app/controllers/think_feel_do_engine/users/passwords_controller.rb
think_feel_do_engine-3.22.5 app/controllers/think_feel_do_engine/users/passwords_controller.rb
think_feel_do_engine-3.22.4 app/controllers/think_feel_do_engine/users/passwords_controller.rb
think_feel_do_engine-3.22.2 app/controllers/think_feel_do_engine/users/passwords_controller.rb
think_feel_do_engine-3.22.1 app/controllers/think_feel_do_engine/users/passwords_controller.rb
think_feel_do_engine-3.22.0 app/controllers/think_feel_do_engine/users/passwords_controller.rb
think_feel_do_engine-3.21.2 app/controllers/think_feel_do_engine/users/passwords_controller.rb
think_feel_do_engine-3.21.1 app/controllers/think_feel_do_engine/users/passwords_controller.rb
think_feel_do_engine-3.21.0 app/controllers/think_feel_do_engine/users/passwords_controller.rb
think_feel_do_engine-3.20.1 app/controllers/think_feel_do_engine/users/passwords_controller.rb