Skip to content

Commit

Permalink
🍺
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanmitchell committed Dec 13, 2023
1 parent 46b1119 commit ac7d5a9
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ public function update(Request $request, $taxonomy)
$taxonomy
->title($values['title'])
->previewTargets($values['preview_targets'])
->routes($values['routes']);
->routes($values['routes'])
->termTemplate($values['term_template'] ?? null)
->template($values['template'] ?? null)
->layout($values['layout'] ?? null);
Expand Down
2 changes: 1 addition & 1 deletion tests/Data/Taxonomies/TaxonomyTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -456,7 +456,7 @@ public function it_sets_all_the_routes_identically()
$this->assertNull($taxonomy->route('de'));
$this->assertNull($taxonomy->route('unknown'));
}

/** @test */
public function it_gets_and_sets_the_layout()
{
Expand Down
2 changes: 1 addition & 1 deletion tests/Data/Taxonomies/TermTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -347,7 +347,7 @@ public function it_gets_routes()
$this->assertEquals('/le-blog/{slug}', $termFr->route());
$this->assertEquals('/das-blog/{slug}', $termDe->route());
}

/** @test */
public function it_gets_and_sets_the_layout()
{
Expand Down

0 comments on commit ac7d5a9

Please sign in to comment.