mirror of
https://github.com/openclassify/openclassify.git
synced 2026-02-06 21:36:06 -06:00
#2008 Listing view type error
This commit is contained in:
parent
b05c722883
commit
eb62144bf9
@ -333,7 +333,7 @@ class AdvsController extends PublicController
|
|||||||
public function viewType($type)
|
public function viewType($type)
|
||||||
{
|
{
|
||||||
Cookie::queue(Cookie::make('viewType', $type, 84000));
|
Cookie::queue(Cookie::make('viewType', $type, 84000));
|
||||||
return redirect($this->request->headers->get('referer'));
|
return redirect($this->request->headers->get('referer') ?: route('visiosoft.module.advs::list'));
|
||||||
}
|
}
|
||||||
|
|
||||||
public function view($seo, $id = null)
|
public function view($seo, $id = null)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user