Skip to content

Commit 83057b1

Browse files
AkronimBlackbmadzarac
andauthored
Update routeModelBinding (#69)
Co-authored-by: bmadzarac <bojan.madzarac@asseco-see.hr>
1 parent c86858f commit 83057b1

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/CustomFieldsServiceProvider.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,7 @@ protected function routeModelBinding()
8686
{
8787
Route::model('custom_field', get_class(app(CustomField::class)));
8888
Route::model('form', get_class(app(Form::class)));
89+
Route::model('form_template', get_class(app(FormTemplate::class)));
8990
Route::model('remote_type', get_class(app(RemoteType::class)));
9091
// Plain type pattern is defined in routes, so no need to register it here
9192
// Route::model('plain_type', get_class(app(PlainType::class)));

0 commit comments

Comments
 (0)