Updated helper function

This commit is contained in:
2024-09-11 11:26:11 +02:00
parent 3899048349
commit 0f43113e88

View File

@@ -36,5 +36,6 @@ module ApplicationHelper
def edit_form?
action_name != "new" && action_name != "create"
# alternate: @model.persisted?
end
end