app/controllers/devise_jwt_auth/confirmations_controller.rb
# give redirect value from params priority or fall back to default value if provided
give redirect value from params priority or fall back to default value if provided
give redirect value from params priority or fall back to default value if provided
def redirect_url
      params.fetch(
        :redirect_url,
        DeviseJwtAuth.default_confirm_success_url
      )
    end
def redirect_url params . fetch ( :redirect_url , DeviseJwtAuth . default_confirm_success_url ) end
give redirect value from params priority or fall back to default value if provided
give redirect value from params priority or fall back to default value if provided