mirror of
https://github.com/BookStackApp/BookStack.git
synced 2025-07-31 15:24:31 +03:00
Refactored Social auth into service, Made entity an abstract class
This commit is contained in:
@ -13,4 +13,12 @@ class Image extends Entity
|
||||
return storage_path() . $this->url;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the url for this item.
|
||||
* @return string
|
||||
*/
|
||||
public function getUrl()
|
||||
{
|
||||
return public_path() . $this->url;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user