Skip to content
Snippets Groups Projects
Commit ec53e0b2 authored by Dominik Hebeler's avatar Dominik Hebeler
Browse files

Bugfix durch den ein JavaScript error hervorgerufen wurde

parent 87a88ba3
No related branches found
No related tags found
No related merge requests found
......@@ -12,11 +12,11 @@
*/
Route::get('/', function () {
return view('map')->with('boundings', false);
return view('map')->with('boundings', 'false');
});
Route::get('map/{search}/{latMin}/{lonMin}/{latMax}/{lonMax}', function ($search, $latMin, $lonMin, $latMax, $lonMax) {
return view('map')->with('javascript', "/$search/$latMin/$lonMin/$latMax/$lonMax")->with('search', $search)->with('boundings', true);
return view('map')->with('javascript', "/$search/$latMin/$lonMin/$latMax/$lonMax")->with('search', $search)->with('boundings', 'true');
});
Route::get('{search}/{latMin}/{lonMin}/{latMax}/{lonMax}/{adjustView?}/{limit?}', 'SearchController@boundingBoxSearch');
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment