mirror of
https://github.com/flarum/framework.git
synced 2025-01-20 18:17:31 +08:00
Fix Model extender transition using camelCase instead of underscore notation
This commit is contained in:
parent
347fc6d79d
commit
42d7968dfb
|
@ -30,7 +30,7 @@ return [
|
||||||
->css(__DIR__.'/less/admin.less'),
|
->css(__DIR__.'/less/admin.less'),
|
||||||
|
|
||||||
(new Extend\Model(User::class))
|
(new Extend\Model(User::class))
|
||||||
->dateAttribute('suspendedUntil'),
|
->dateAttribute('suspended_until'),
|
||||||
|
|
||||||
function (Dispatcher $events) {
|
function (Dispatcher $events) {
|
||||||
$events->subscribe(Listener\AddUserSuspendAttributes::class);
|
$events->subscribe(Listener\AddUserSuspendAttributes::class);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user