Updated helper function
This commit is contained in:
@@ -36,5 +36,6 @@ module ApplicationHelper
|
||||
|
||||
def edit_form?
|
||||
action_name != "new" && action_name != "create"
|
||||
# alternate: @model.persisted?
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user