1
0
Fork 0
mirror of https://github.com/maybe-finance/maybe.git synced 2025-07-19 13:19:39 +02:00

Remove safe navigation

This commit is contained in:
Jose Farias 2024-02-03 00:11:50 -06:00
parent 2adf2de190
commit 56b5e01e5e
No known key found for this signature in database
GPG key ID: 877CF7E5FFD0FB3F

View file

@ -1,6 +1,5 @@
module AuthMessagesHelper module AuthMessagesHelper
def auth_messages(form = nil) def auth_messages(form)
render "shared/auth_messages", flash: flash, render "shared/auth_messages", flash: flash, errors: form.object.errors.full_messages
errors: form&.object&.errors&.full_messages || []
end end
end end