その他のリダイレクト処理でもroot_path
を参照するような場合にそれより前にuser_root_path
を参照するので、それを上書きする
controllers/application_controller.rb
class ApplicationController < ActionController::Base
def user_root_path
edit_user_registration_path
end
end
More than 5 years have passed since last update.
その他のリダイレクト処理でもroot_path
を参照するような場合にそれより前にuser_root_path
を参照するので、それを上書きする
class ApplicationController < ActionController::Base
def user_root_path
edit_user_registration_path
end
end
Register as a new user and use Qiita more conveniently