You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hey,
awesome package! I have done the following in AppServiceProvider.php \Spatie\PrefixedIds\PrefixedIds::registerModels(config('prefixed-ids.models'));
and in the config prefixed-ids:
'models'=>[ 'cus_' => Customer::class ]
It works fine, but does it make sense from a Request Lifecycle point of view?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hey,
awesome package! I have done the following in
AppServiceProvider.php
\Spatie\PrefixedIds\PrefixedIds::registerModels(config('prefixed-ids.models'));
and in the config prefixed-ids:
'models'=>[ 'cus_' => Customer::class ]
It works fine, but does it make sense from a Request Lifecycle point of view?
Is that useful or does that not make sense
Beta Was this translation helpful? Give feedback.
All reactions