Skip to content

Commit 2150175

Browse files
authored
Merge pull request #73 from Webmecanik/master
Support for Symfony 4.1
2 parents b1c53da + bd62c6a commit 2150175

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

src/LightSaml/SpBundle/Controller/DefaultController.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ public function discoveryAction()
3535
return $this->redirect($this->generateUrl('lightsaml_sp.login', ['idp' => $parties[0]->getEntityID()]));
3636
}
3737

38-
return $this->render('LightSamlSpBundle::discovery.html.twig', [
38+
return $this->render('@LightSamlSp/discovery.html.twig', [
3939
'parties' => $parties,
4040
]);
4141
}
@@ -60,7 +60,7 @@ public function sessionsAction()
6060
{
6161
$ssoState = $this->get('lightsaml.container.build')->getStoreContainer()->getSsoStateStore()->get();
6262

63-
return $this->render('LightSamlSpBundle::sessions.html.twig', [
63+
return $this->render('@LightSamlSp/sessions.html.twig', [
6464
'sessions' => $ssoState->getSsoSessions(),
6565
]);
6666
}
Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
11
lightsaml_sp.metadata:
22
path: /metadata.xml
3-
defaults: { _controller: LightSamlSpBundle:Default:metadata }
3+
defaults: { _controller: LightSaml\SpBundle\Controller\DefaultController::metadataAction }
44

55
lightsaml_sp.discovery:
66
path: /discovery
7-
defaults: { _controller: LightSamlSpBundle:Default:discovery }
7+
defaults: { _controller: LightSaml\SpBundle\Controller\DefaultController::discoveryAction }
88

99
lightsaml_sp.login:
1010
path: /login
11-
defaults: { _controller: LightSamlSpBundle:Default:login }
11+
defaults: { _controller: LightSaml\SpBundle\Controller\DefaultController::loginAction}
1212

1313
lightsaml_sp.login_check:
1414
path: /login_check
1515

1616
lightsaml_sp.sessions:
1717
path: /sessions
18-
defaults: { _controller: LightSamlSpBundle:Default:sessions }
18+
defaults: { _controller: LightSaml\SpBundle\Controller\DefaultController::sessionsAction }

0 commit comments

Comments
 (0)