mirror of
https://github.com/tchapi/davis.git
synced 2025-01-16 20:38:26 +01:00
Fix optional parameter order
This commit is contained in:
parent
3697aac9af
commit
19b2fdec02
@ -291,7 +291,7 @@ class DAVController extends AbstractController
|
||||
}
|
||||
|
||||
#[Route('/dav/{path}', name: 'dav', requirements: ['path' => '.*'])]
|
||||
public function dav(Request $request, ?Profiler $profiler = null, ?string $path)
|
||||
public function dav(Request $request, ?string $path, ?Profiler $profiler = null)
|
||||
{
|
||||
// We don't want the toolbar on the /dav/* routes
|
||||
if ($profiler instanceof Profiler) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user