Skip to content

Commit

Permalink
Merge pull request #632 from cakephp/issue-14052
Browse files Browse the repository at this point in the history
Include parent call in generated plugin class methods
  • Loading branch information
markstory authored Jan 6, 2020
2 parents 09a9b3e + f031601 commit 113502b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions templates/bake/Plugin/src/Plugin.php.twig
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ class Plugin extends BasePlugin
$builder->fallbacks();
}
);
parent::routes($routes);
}
/**
Expand Down
1 change: 1 addition & 0 deletions tests/comparisons/Plugin/Company/Example/src/Plugin.php
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ function (RouteBuilder $builder) {
$builder->fallbacks();
}
);
parent::routes($routes);
}

/**
Expand Down
1 change: 1 addition & 0 deletions tests/comparisons/Plugin/SimpleExample/src/Plugin.php
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ function (RouteBuilder $builder) {
$builder->fallbacks();
}
);
parent::routes($routes);
}

/**
Expand Down

0 comments on commit 113502b

Please sign in to comment.