FIX: lots of bugfixes, sorry for ugly commit

This commit is contained in:
Michal Kváček
2017-02-09 23:10:11 +01:00
parent 99ed8806da
commit b7d4ab9515
47 changed files with 180 additions and 199 deletions
+2 -1
View File
@@ -21,7 +21,8 @@ class Template extends Model
*
* @return \Illuminate\Database\Eloquent\Relations\BelongsTo
*/
public function path() {
public function templatePath()
{
return $this->belongsTo(TemplatePath::class, 'path');
}
}