Update (route)
This commit is contained in:
13
app/Helpers/Global/route_helper.php
Normal file
13
app/Helpers/Global/route_helper.php
Normal file
@@ -0,0 +1,13 @@
|
||||
<?php
|
||||
|
||||
if (! function_exists('get_route_search_result')) {
|
||||
|
||||
function get_route_search_result($query)
|
||||
{
|
||||
|
||||
return route('front.search.results',
|
||||
[
|
||||
'query' => strtolower(urlencode($query)),
|
||||
]);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user