Added a comment
Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
parent
304cd75af5
commit
e1b24bb763
1 changed files with 2 additions and 1 deletions
|
@ -33,7 +33,8 @@ class BulkAssetsController extends Controller
|
||||||
if (! $request->filled('ids')) {
|
if (! $request->filled('ids')) {
|
||||||
return redirect()->back()->with('error', 'No assets selected');
|
return redirect()->back()->with('error', 'No assets selected');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Figure out where we need to send the user after the update is complete, and store that in the session
|
||||||
$bulk_back_url = request()->headers->get('referer');
|
$bulk_back_url = request()->headers->get('referer');
|
||||||
session(['bulk_back_url' => $bulk_back_url]);
|
session(['bulk_back_url' => $bulk_back_url]);
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue