Skip to content

Commit

Permalink
Add status to LocalizedTerm (#2950)
Browse files Browse the repository at this point in the history
  • Loading branch information
jsblair9 authored Dec 4, 2020
1 parent 2e285aa commit 43b7ef0
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/Taxonomies/LocalizedTerm.php
Original file line number Diff line number Diff line change
Expand Up @@ -329,6 +329,11 @@ public function routeData()
])->all();
}

public function status()
{
return 'published';
}

public function toResponse($request)
{
if (! view()->exists($this->template())) {
Expand Down

0 comments on commit 43b7ef0

Please sign in to comment.