Skip to content

Commit

Permalink
Fix Model extender transition using camelCase instead of underscore n…
Browse files Browse the repository at this point in the history
…otation
  • Loading branch information
dsevillamartin committed May 3, 2020
1 parent 31d793f commit 095f9ba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion extend.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
->css(__DIR__.'/less/admin.less'),

(new Extend\Model(User::class))
->dateAttribute('suspendedUntil'),
->dateAttribute('suspended_until'),

function (Dispatcher $events) {
$events->subscribe(Listener\AddUserSuspendAttributes::class);
Expand Down

0 comments on commit 095f9ba

Please sign in to comment.