Fixed model namespaces
This commit is contained in:
parent
82c486e89a
commit
967f716694
@ -16,7 +16,7 @@ class Album extends Eloquent {
|
|||||||
];
|
];
|
||||||
|
|
||||||
public function songs() {
|
public function songs() {
|
||||||
return $this->hasMany('FieldProtocol\Music\Song');
|
return $this->hasMany('Fieldprotocol\Music\Song');
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -16,7 +16,7 @@ class Song extends Eloquent {
|
|||||||
];
|
];
|
||||||
|
|
||||||
public function album() {
|
public function album() {
|
||||||
return $this->belongsTo('FieldProtocol\Music\Album');
|
return $this->belongsTo('Fieldprotocol\Music\Album');
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user