This commit is contained in:
parent
6804a4c9b7
commit
7815c8b49a
3 changed files with 32 additions and 10 deletions
|
|
@ -0,0 +1,7 @@
|
|||
<?php
|
||||
|
||||
return function($newPage, $oldPage) {
|
||||
if ($newPage->template() == 'project' || $newPage->parents()->findBy('template', 'project')) {
|
||||
$newPage->getSteps();
|
||||
}
|
||||
};
|
||||
Loading…
Add table
Add a link
Reference in a new issue