Skip to content

Commit

Permalink
Add empty locale extender to clear cache properly on enable/disable.
Browse files Browse the repository at this point in the history
  • Loading branch information
askvortsov1 committed Jun 20, 2020
1 parent 741c71b commit 466299c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions extend.php
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,8 @@
(new Extend\Model(Discussion::class))
->belongsToMany('tags', Tag::class, 'discussion_tag'),

new Extend\Locales(__DIR__.'/locale'),

function (Dispatcher $events, Factory $view) {
$events->subscribe(Listener\AddDiscussionTagsRelationship::class);

Expand Down
Empty file added locale/.gitkeep
Empty file.

0 comments on commit 466299c

Please sign in to comment.