Commit f81b1b7f authored by Dominik Hebeler's avatar Dominik Hebeler
Browse files

Fehler im Plugin behoben, durch den ein POST als Einstellung nicht möglich war

parent 0a1e47ae
......@@ -110,11 +110,12 @@ class StartpageController extends Controller
array_forget($params, 'out');
array_forget($params, 'page');
array_forget($params, 'request');
$link = action('MetaGerSearch@search', $params);
$link = action('MetaGerSearch@search', []);
$response = Response::make(
->with('link', $link)
->with('params', $params)
->with('request', $request), "200");
$response->header('Content-Type', "application/xml");
return $response;
<?xmlversion = "1.0"encoding = "UTF-8"?>
<OpenSearchDescription xmlns="">
<?xml version="1.0" encoding="UTF-8" ?>
<OpenSearchDescription xmlns="" xmlns:moz="">
<Description>{{ trans('plugin.description') }}</Description>
<Image width="16" height="16" type="image/x-icon">{{ url('/favicon.ico') }}</Image>
<Url type="text/html" template="{{ $link }}&amp;eingabe={searchTerms}" method="{{$request}}"></Url>
<Url type="text/html" template="{{ $link }}" method="{{$request}}">
<Param name="eingabe" value="{searchTerms}" />
@foreach($params as $key => $value)
<Param name="{{$key}}" value="{{$value}}" />
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment