Sha256: 3b68c1082b60ab7b1a4d7a1513037a7ba65fd309a5e74fb6b7b289fa727a6faa

Contents?: true

Size: 462 Bytes

Versions: 12

Compression:

Stored size: 462 Bytes

Contents

# frozen_string_literal: true
# Overridden methods for the registrations controller of Devise
class RegistrationsController < Devise::RegistrationsController
  skip_authorization_check

  protected

  # rubocop:disable Lint/UnusedMethodArgument
  def after_update_path_for(resource)
    if defined?(think_feel_do_dashboard)
      think_feel_do_dashboard.root_path
    else
      privacy_policy_path
    end
  end
  # rubocop:enable Lint/UnusedMethodArgument
end

Version data entries

12 entries across 12 versions & 1 rubygems

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