Tag blog posts and sign them with a member
Tags are named in every language and made from the page form; the byline is the member who signs a post on the site. The public API sends both, filters posts by tag and lists the tags in use. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -18,6 +18,7 @@ use App\Models\Redirect;
|
||||
use App\Models\Repository;
|
||||
use App\Models\Service;
|
||||
use App\Models\Setting;
|
||||
use App\Models\Tag;
|
||||
use App\Models\Talk;
|
||||
use App\Models\Technology;
|
||||
use App\Models\Testimonial;
|
||||
@@ -46,6 +47,7 @@ final class Auditor
|
||||
public const AUDITED = [
|
||||
Page::class => 'pages',
|
||||
Category::class => 'categories',
|
||||
Tag::class => 'tags',
|
||||
Project::class => 'projects',
|
||||
Member::class => 'members',
|
||||
Service::class => 'services',
|
||||
|
||||
@@ -25,7 +25,7 @@ final class Duplicator
|
||||
* @var array<class-string<Model>, array<int, string>>
|
||||
*/
|
||||
public const RELATIONS = [
|
||||
Page::class => [],
|
||||
Page::class => ['tags'],
|
||||
Project::class => ['technologies', 'services', 'members'],
|
||||
Service::class => ['technologies', 'projects'],
|
||||
Call::class => ['technologies'],
|
||||
|
||||
Reference in New Issue
Block a user