FEATURE: use more route model binding

This commit is contained in:
Michal Kváček
2017-08-01 19:10:55 +02:00
parent a7e91ef499
commit 3275e5aeed
22 changed files with 163 additions and 159 deletions
+5
View File
@@ -27,4 +27,9 @@ class Module extends Model
'is_template' => 'boolean',
'has_submodules' => 'boolean'
];
public function getRouteKeyName()
{
return 'alias';
}
}