mirror of
https://github.com/maybe-finance/maybe.git
synced 2025-07-19 05:09:38 +02:00
Remove safe navigation
This commit is contained in:
parent
2adf2de190
commit
56b5e01e5e
1 changed files with 2 additions and 3 deletions
|
@ -1,6 +1,5 @@
|
|||
module AuthMessagesHelper
|
||||
def auth_messages(form = nil)
|
||||
render "shared/auth_messages", flash: flash,
|
||||
errors: form&.object&.errors&.full_messages || []
|
||||
def auth_messages(form)
|
||||
render "shared/auth_messages", flash: flash, errors: form.object.errors.full_messages
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue