Answers for "devise redirect to a post mehod after sign_up"

1

devise redirectt after sign up

class RegistrationsController < Devise::RegistrationsController
  protected

  def after_sign_up_path_for(resource)
    '/an/example/path' # Or :prefix_to_your_route
  end
end
Posted by: Guest on January-26-2021

Code answers related to "devise redirect to a post mehod after sign_up"

Browse Popular Code Answers by Language