1
0
mirror of https://github.com/BookStackApp/BookStack.git synced 2025-07-28 17:02:04 +03:00
This commit is contained in:
Nilesh Deepak
2017-07-12 18:04:06 +05:30
parent d37b398e79
commit 24ee78ccd8
2 changed files with 2 additions and 2 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;