Deviseでサインイン後に任意のアクションへ飛ばす【Ruby on Rails】
app/controllers/application_controller.rbに以下を追加。
def after_sign_in_path_for(resource)
******_path(current_devise_user.id)
end
メモメモ。
@taremimi_7
app/controllers/application_controller.rbに以下を追加。
def after_sign_in_path_for(resource)
******_path(current_devise_user.id)
end
メモメモ。
@taremimi_7