1
0
mirror of https://github.com/BookStackApp/BookStack.git synced 2025-07-28 17:02:04 +03:00

Merge pull request #8 from OsmosysSoftware/feature-181

Issue 181
This commit is contained in:
Abijeet
2017-07-12 18:41:35 +05:30
committed by GitHub
20 changed files with 40 additions and 29 deletions

View File

@ -18,7 +18,7 @@ class Book extends Entity
return baseUrl('/books/' . urlencode($this->slug));
}
public function getBookCover($size = 120)
public function getBookCover()
{
$default = baseUrl('/default.png');
$image = $this->image;