- ‹Symfony 1.4 embedded form fields at the same indent
- ›symfony 1.3 and 1.4 • [bug] Migration possible bug, Removing Indexes and Columns
I am following the instructions on creating a sample application. I am trying to quickly get to grips on how to create a few (for now) static pages - no user authentication, no ORM etc, just to get something up and running.
I have created two bundles:
$ php app/console generate:bundle --namespace=app1/FooBundle --format=yml
$ php app/console generate:bundle --namespace=app2/FooBarBundle --format=yml
from the documentation (and knowledge of how Symfony 1.x worked), I expected to be able to access the two 'applications' using:
However, in both cases, I simply got a 404 error.
Upon going back to the documentation, I read that the correct URL to use was;
That seems to 'work' in so far as a page with angrycoder was displayed.
HOWEVER - I have no idea which application has actually been called - since I haven't yet figured out how to display the debug toolbar.
My question therefore is this:
How do I get to a specific page (static or otherwise) in a given bundle?.
This is what my app/config/routing.yml file looks like:
# Internal routing configuration to handle ESI
# resource: "@FrameworkBundle/Resources/config/routing/internal.xml"
# prefix: /_internal
As can be seen, both have a prefix of '/'. So when I type:
Which application is actually called (and why?).
From my understanding, the only (obvious way) to be able to call specific applications - is to use different prefixes for different applications - or am I missing something?