'(:all)/changes/discard', 'method' => 'POST', 'action' => function (string $path) { return Changes::discard( model: Find::parent($path), ); } ], [ 'pattern' => '(:all)/changes/publish', 'method' => 'POST', 'action' => function (string $path) { return Changes::publish( model: Find::parent($path), input: App::instance()->request()->get() ); } ], [ 'pattern' => '(:all)/changes/save', 'method' => 'POST', 'action' => function (string $path) { return Changes::save( model: Find::parent($path), input: App::instance()->request()->get() ); } ], ];