use of function storage_path()

replaced $app['path'].'/storage with storage_path()   it will work where ever you storage dir is