1
0
mirror of https://github.com/BookStackApp/BookStack.git synced 2025-07-30 04:23:11 +03:00

Added page editing

This commit is contained in:
Dan Brown
2015-07-12 21:31:15 +01:00
parent eaa1765c7a
commit 3c7bd297ea
19 changed files with 252 additions and 23 deletions

View File

@ -19,4 +19,9 @@ class Book extends Model
return $this->getUrl() . '/edit';
}
public function pages()
{
return $this->hasMany('Oxbow\Page');
}
}