File tree Expand file tree Collapse file tree 2 files changed +2
-13
lines changed
src/Symfony/Bundle/SecurityBundle/Tests/Functional
Bundle/JsonLoginBundle/Controller Expand file tree Collapse file tree 2 files changed +2
-13
lines changed Original file line number Diff line number Diff line change 11
11
12
12
namespace Symfony \Bundle \SecurityBundle \Tests \Functional \Bundle \JsonLoginBundle \Controller ;
13
13
14
- use Symfony \Component \HttpFoundation \JsonResponse ;
15
-
16
14
/**
17
15
* @author Kévin Dunglas <dunglas@gmail.com>
18
16
*/
19
17
class TestController
20
18
{
21
- public function loginAction ()
19
+ public function loginCheckAction ()
22
20
{
23
21
throw new \RuntimeException ('loginAction() should never be called. ' );
24
22
}
25
-
26
- public function helloAction ()
27
- {
28
- return new JsonResponse ('hello ' );
29
- }
30
23
}
Original file line number Diff line number Diff line change 1
1
login_check :
2
2
path : /login_check
3
- defaults : { _controller: JsonLoginBundle:Test:login }
4
-
5
- foo :
6
- path : /foo
7
- defaults : { _controller: JsonLoginBundle:Test:hello }
3
+ defaults : { _controller: JsonLoginBundle:Test:loginCheck }
You can’t perform that action at this time.
0 commit comments