diff --git a/app/Http/Controllers/Admin/PhotoController.php b/app/Http/Controllers/Admin/PhotoController.php index a4d2051..bc2f338 100644 --- a/app/Http/Controllers/Admin/PhotoController.php +++ b/app/Http/Controllers/Admin/PhotoController.php @@ -393,7 +393,7 @@ class PhotoController extends Controller $request->session()->flash('success', trans_choice('admin.bulk_photos_changed', $numberChanged, ['number' => $numberChanged])); - return redirect(route('albums.show', array('id' => $albumId))); + return redirect(route('albums.show', array('id' => $albumId, 'page' => $request->get('page', 1)))); } private function applyBulkActions(Request $request, Album $album) diff --git a/resources/views/themes/base/partials/album_photos_tab.blade.php b/resources/views/themes/base/partials/album_photos_tab.blade.php index 389081f..14d854e 100644 --- a/resources/views/themes/base/partials/album_photos_tab.blade.php +++ b/resources/views/themes/base/partials/album_photos_tab.blade.php @@ -11,7 +11,7 @@ @endif @else -
+ {{ csrf_field() }} {{ method_field('PUT') }}