1

I provide a REST interface in Symfony2 with FOS

    public function approveAction(EducaEvent $id) { ... }

but I'm not able to guess the routing interface: I know that it is a patch, but

patch_educaevent_approve
patch_educaevents_approve
patch_approve_educaevents
patch_approve_educaevent

don't work. Is there a way to read REST routing string? What is the routing string in this case?

1
  • Did you find the bug? Commented Sep 30, 2014 at 19:47

1 Answer 1

1

To debug your routes, use:

./app/console router:debug
Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.