Sha256: 2065aa6e0c46150494a7adcbf1df3e5806008c6333a2a15c67713bda59164b3a

Contents?: true

Size: 431 Bytes

Versions: 55

Compression:

Stored size: 431 Bytes

Contents

# 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

55 entries across 55 versions & 1 rubygems

Version Path
think_feel_do_engine-3.12.7 app/controllers/think_feel_do_engine/users/registrations_controller.rb
think_feel_do_engine-3.12.6 app/controllers/think_feel_do_engine/users/registrations_controller.rb
think_feel_do_engine-3.12.5 app/controllers/think_feel_do_engine/users/registrations_controller.rb
think_feel_do_engine-3.12.4 app/controllers/think_feel_do_engine/users/registrations_controller.rb
think_feel_do_engine-3.12.3 app/controllers/think_feel_do_engine/users/registrations_controller.rb
think_feel_do_engine-3.12.2 app/controllers/think_feel_do_engine/users/registrations_controller.rb
think_feel_do_engine-3.12.1 app/controllers/think_feel_do_engine/users/registrations_controller.rb
think_feel_do_engine-3.12.0 app/controllers/think_feel_do_engine/users/registrations_controller.rb
think_feel_do_engine-3.11.3 app/controllers/think_feel_do_engine/users/registrations_controller.rb
think_feel_do_engine-3.11.0 app/controllers/think_feel_do_engine/users/registrations_controller.rb
think_feel_do_engine-3.10.10 app/controllers/think_feel_do_engine/users/registrations_controller.rb
think_feel_do_engine-3.10.9 app/controllers/think_feel_do_engine/users/registrations_controller.rb
think_feel_do_engine-3.10.8 app/controllers/think_feel_do_engine/users/registrations_controller.rb
think_feel_do_engine-3.10.7 app/controllers/think_feel_do_engine/users/registrations_controller.rb
think_feel_do_engine-3.10.6 app/controllers/think_feel_do_engine/users/registrations_controller.rb