Skip to content

Commit 4803063

Browse files
author
Niket Pathak
committed
fix typo
1 parent 80cc590 commit 4803063

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Controller/DefaultController.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ public function indexAction(Request $request)
2727
/**
2828
* @Route("/api/colors", name="colors_route")
2929
*/
30-
public function registerAction()
30+
public function colorsAction()
3131
{
3232

3333
return new JsonResponse(array('colors' => ['red', 'green','blue', 'yellow'], "success" => true));

0 commit comments

Comments
 (0)