zm455 zm455 - 1 year ago 80
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 ?

Answer Source

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

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download