Enable turbo refresh in layout/auth & Fix registrations controller create fail w/ status (#544)

This commit is contained in:
Yu Le
2024-03-14 22:30:46 +08:00
committed by GitHub
parent 2c257a2a4b
commit 56743eb380
2 changed files with 2 additions and 1 deletions

View File

@@ -19,7 +19,7 @@ class RegistrationsController < ApplicationController
redirect_to root_path
else
flash[:alert] = t(".failure")
render :new
render :new, status: :unprocessable_entity
end
end