Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
open-source
MetaGer
Commits
f4a028b1
Commit
f4a028b1
authored
Aug 18, 2021
by
Dominik Hebeler
Browse files
fixed routes
parent
2a9ffce4
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
routes/web.php
View file @
f4a028b1
...
...
@@ -43,6 +43,7 @@ Route::group(
->
with
(
'css'
,
[
mix
(
'css/asso/style.css'
)])
->
with
(
'darkcss'
,
[
mix
(
'css/asso/dark.css'
)]);
});
Route
::
get
(
'asso/meta.ger3'
,
'Assoziator@asso'
)
->
middleware
(
'browserverification:assoresults'
,
'humanverification'
)
->
name
(
"assoresults"
);
Route
::
get
(
'impressum'
,
function
()
{
...
...
@@ -90,13 +91,14 @@ Route::group(
->
with
(
'js'
,
[
mix
(
'/js/donation.js'
)])
->
with
(
'navbarFocus'
,
'foerdern'
);
})
->
name
(
"spende"
);
Route
::
get
(
'spende/danke/{data}'
,
[
'as'
=>
'danke'
,
function
(
$data
)
{
Route
::
get
(
'spende/danke/{data}'
,
function
(
$data
)
{
return
view
(
'spende.danke'
)
->
with
(
'title'
,
trans
(
'titles.spende'
))
->
with
(
'navbarFocus'
,
'foerdern'
)
->
with
(
'css'
,
[
mix
(
'/css/spende/danke.css'
)])
->
with
(
'data'
,
unserialize
(
base64_decode
(
$data
)));
}
]
);
}
)
->
name
(
"danke"
);
Route
::
get
(
'partnershops'
,
function
()
{
return
view
(
'spende.partnershops'
)
->
with
(
'title'
,
trans
(
'titles.partnershops'
))
...
...
@@ -190,13 +192,12 @@ Route::group(
return
$response
;
});
Route
::
get
(
'plugin'
,
function
()
{
Route
::
get
(
'plugin'
,
function
(
Request
$request
)
{
return
view
(
'plugin-page'
)
->
with
(
'title'
,
trans
(
'titles.plugin'
))
->
with
(
'navbarFocus'
,
'dienste'
)
->
with
(
'agent'
,
new
Agent
())
->
with
(
'browser'
,
(
new
Agent
())
->
browser
())
->
with
(
'request'
,
$this
->
input
(
'request'
,
'GET'
));
->
with
(
'browser'
,
(
new
Agent
())
->
browser
());
});
Route
::
group
([
'middleware'
=>
[
'auth.basic'
],
'prefix'
=>
'admin'
],
function
()
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment