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

fixed routes

parent 2a9ffce4
No related branches found
No related tags found
4 merge requests!1895Development,!1892Development,!1889Development,!1888Resolve "fix ci pipelines"
...@@ -43,6 +43,7 @@ Route::group( ...@@ -43,6 +43,7 @@ Route::group(
->with('css', [mix('css/asso/style.css')]) ->with('css', [mix('css/asso/style.css')])
->with('darkcss', [mix('css/asso/dark.css')]); ->with('darkcss', [mix('css/asso/dark.css')]);
}); });
Route::get('asso/meta.ger3', 'Assoziator@asso')->middleware('browserverification:assoresults', 'humanverification')->name("assoresults"); Route::get('asso/meta.ger3', 'Assoziator@asso')->middleware('browserverification:assoresults', 'humanverification')->name("assoresults");
Route::get('impressum', function () { Route::get('impressum', function () {
...@@ -90,13 +91,14 @@ Route::group( ...@@ -90,13 +91,14 @@ Route::group(
->with('js', [mix('/js/donation.js')]) ->with('js', [mix('/js/donation.js')])
->with('navbarFocus', 'foerdern'); ->with('navbarFocus', 'foerdern');
})->name("spende"); })->name("spende");
Route::get('spende/danke/{data}', ['as' => 'danke', function ($data) {
Route::get('spende/danke/{data}', function ($data) {
return view('spende.danke') return view('spende.danke')
->with('title', trans('titles.spende')) ->with('title', trans('titles.spende'))
->with('navbarFocus', 'foerdern') ->with('navbarFocus', 'foerdern')
->with('css', [mix('/css/spende/danke.css')]) ->with('css', [mix('/css/spende/danke.css')])
->with('data', unserialize(base64_decode($data))); ->with('data', unserialize(base64_decode($data)));
}]); })->name("danke");
Route::get('partnershops', function () { Route::get('partnershops', function () {
return view('spende.partnershops') return view('spende.partnershops')
->with('title', trans('titles.partnershops')) ->with('title', trans('titles.partnershops'))
...@@ -190,13 +192,12 @@ Route::group( ...@@ -190,13 +192,12 @@ Route::group(
return $response; return $response;
}); });
Route::get('plugin', function () { Route::get('plugin', function (Request $request) {
return view('plugin-page') return view('plugin-page')
->with('title', trans('titles.plugin')) ->with('title', trans('titles.plugin'))
->with('navbarFocus', 'dienste') ->with('navbarFocus', 'dienste')
->with('agent', new Agent()) ->with('agent', new Agent())
->with('browser', (new Agent())->browser()) ->with('browser', (new Agent())->browser());
->with('request', $this->input('request', 'GET'));
}); });
Route::group(['middleware' => ['auth.basic'], 'prefix' => 'admin'], function () { Route::group(['middleware' => ['auth.basic'], 'prefix' => 'admin'], function () {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment