Changed public getImageURL function to private.
This commit is contained in:
parent
5b736c3b36
commit
6ad24a6bee
|
@ -133,7 +133,7 @@ class BookController extends Controller
|
||||||
* @param $image
|
* @param $image
|
||||||
* @return $path
|
* @return $path
|
||||||
*/
|
*/
|
||||||
public function getBookCoverURL($image)
|
private function getBookCoverURL($image)
|
||||||
{
|
{
|
||||||
$input = time().'-'.$image->getClientOriginalName();
|
$input = time().'-'.$image->getClientOriginalName();
|
||||||
$destinationPath = public_path('uploads/book/');
|
$destinationPath = public_path('uploads/book/');
|
||||||
|
|
Loading…
Reference in New Issue