audit-stash
audit-stash copied to clipboard
Multiple index guide incorrect
The README specify that we need to use %s in the configuration to use multiple index. However, the 2 configurations on it are the same, how should I proceed?
Looks like the feature got lost in a refactoring. The %s
token should actually now be part of each Index
class, but seems like there is no easy way to do this. Would you like to help fix this situation?
Ok, it seems you can do that from the behaviour attach call:
$this->addBehavior('AuditStash.AuditLog', ['index' => 'articles%s', 'type' => 'article'])
Does this need to be documented? Or can we close?