Fixed model namespaces

This commit is contained in:
Ascendings 2016-04-21 00:00:28 -04:00
parent 82c486e89a
commit 967f716694
2 changed files with 2 additions and 2 deletions

View File

@ -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');
} }
} }

View File

@ -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');
} }
} }