Created
February 9, 2018 13:12
-
-
Save GaylordP/dfd885693a4c96ea81e50ff82d042fa1 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public function delete(Request $request, UserInterface $user, Color $color): Response | |
{ | |
if (!$this->isCsrfTokenValid('delete', $request->request->get('token'))) { | |
return $this->render('administration/color/delete.html.twig', [ | |
'color' => $color, | |
]); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment