zm455 zm455 - 3 months ago 26
PHP Question

FosMessageBundle: finding route for creating a new message

I have installed FOSMessageBundle. I think my installation is correct. No error on doctrine:generate:entities neither on doctrine:schema:update.

I see in ressources/routing.xml there is this route:

<route id="fos_message_thread_new" path="/new">
<default key="_controller">FOSMessageBundle:Message:newThread</default>

My problem is I don't understand how to run this route ...

I tried:


I have also tried to run the same routes replacing "thread" in the url by "message" but no route got found

Any help please ?


Maybe try use the debug:router command. It should shows you details for the route (including the full path of the route).

app/console debug:router fos_message_thread_new