Skip to content

Commit

Permalink
rules with controller properties
Browse files Browse the repository at this point in the history
  • Loading branch information
rafageist committed Dec 13, 2019
1 parent fa751f0 commit f99addc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
Dec 12, 2019
-------------------
- `new`: passing controller's properties to rules
- `release`: version 2.4.1

```php
<?php
Expand All @@ -10,6 +9,7 @@ ways::rule('is-admin-section', function($data, $args, $props){
return $args['section'] === 'admin';
});
```
- `release`: version 2.4.1

Dec 12, 2019
-------------------
Expand Down

0 comments on commit f99addc

Please sign in to comment.