mirror of
https://github.com/we-promise/sure.git
synced 2026-04-19 12:04:08 +00:00
Enable turbo refresh in layout/auth & Fix registrations controller create fail w/ status (#544)
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user