#62: Found another reference to the global $albums variable, now $g_albums
This commit is contained in:
parent
cc3370c4b1
commit
cb6ae98907
@ -111,7 +111,7 @@
|
||||
@endforeach
|
||||
|
||||
// Populate the list of albums in the view model
|
||||
@foreach ($albums as $album)
|
||||
@foreach ($g_albums as $album)
|
||||
@if(Gate::check('edit', $album) && Gate::check('upload-photos', $album))
|
||||
editViewModel.data.albums.push({
|
||||
'id': '{{ $album->id }}',
|
||||
|
Loading…
Reference in New Issue
Block a user