octobercms / test-plugin

Test Suite & Playground for October CMS
134 stars 95 forks source link

add beforeSave method to Comment Model #66

Closed CptMeatball closed 4 years ago

CptMeatball commented 5 years ago

This adds a beforeSave method to the Comments model to demonstrate that the event is fired twice when saving.

LukeTowers commented 5 years ago

@CptMeatball please reference the issue that this is connected with here

w20k commented 5 years ago

Ref: https://github.com/octobercms/october/issues/4246