A fix in the model and a simple view for attachments.

This commit is contained in:
James Cole
2015-07-18 21:12:34 +02:00
parent 6a9574bab9
commit 359fab315f
4 changed files with 52 additions and 2 deletions

View File

@@ -472,7 +472,7 @@ class TransactionJournal extends Model
*/
public function attachments()
{
return $this->morphMany('App\Models\Attachment', 'attachable');
return $this->morphMany('FireflyIII\Models\Attachment', 'attachable');
}
/**