Skip to content

Commit

Permalink
[4.x] Don't set termTemplate and template if they are the defaults (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanmitchell authored Jan 30, 2024
1 parent a18568a commit 6bd4976
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Http/Controllers/CP/Taxonomies/TaxonomiesController.php
Original file line number Diff line number Diff line change
Expand Up @@ -133,8 +133,8 @@ public function edit($taxonomy)
'collections' => $taxonomy->collections()->map->handle()->all(),
'sites' => $taxonomy->sites()->all(),
'preview_targets' => $taxonomy->basePreviewTargets(),
'term_template' => $taxonomy->termTemplate(),
'template' => $taxonomy->template(),
'term_template' => $taxonomy->termTemplate,
'template' => $taxonomy->template,
'layout' => $taxonomy->layout(),
];

Expand Down

0 comments on commit 6bd4976

Please sign in to comment.