]> BookStack Code Mirror - bookstack/blobdiff - app/Chapter.php
Change application namespace to BookStack
[bookstack] / app / Chapter.php
index 4e011cec9f3603c7147fe52d1efa79553cd366c1..ce131f3148d38686727b8ce160b43a30240c310c 100644 (file)
@@ -1,4 +1,4 @@
-<?php namespace Oxbow;
+<?php namespace BookStack;
 
 
 class Chapter extends Entity
@@ -8,12 +8,12 @@ class Chapter extends Entity
 
     public function book()
     {
-        return $this->belongsTo('Oxbow\Book');
+        return $this->belongsTo('BookStack\Book');
     }
 
     public function pages()
     {
-        return $this->hasMany('Oxbow\Page')->orderBy('priority', 'ASC');
+        return $this->hasMany('BookStack\Page')->orderBy('priority', 'ASC');
     }
 
     public function getUrl()