Hi again,
I was testing the route with the change
# app/config/routing.yml
homepage:
pattern: /
defaults: { _controller: AcmeDemoBundle:Welcome:index }
If I'm not wrong, this doesn't work because the /src/Acme/DemoBundle/
Resources/views/layout.html.twig uses a link with path( '_welcome')
And also you have to include other routes to make it work.
All that if I'm not wrong, and the documentation must include a
correct example.
So far I like Symfony a lot, so keep up with the good work!!
On 23 jun, 15:58, "fernando.portal" <[email protected]> wrote:
> Excellent.
>
> On 22 jun, 17:01, ryan weaver <[email protected]> wrote:
>
> > I've updated the
> > documentation:https://github.com/symfony/symfony-docs/commit/0c045832bcf836c0710f76...
>
> > Thanks for the report!
>
> > Ryan Weaver
> > US Office Head & Trainer - KnpLabs - Nashville,
> > TNhttp://www.knplabs.com<http://www.knplabs.com/en>http://www.thatsquality.com
> > Twitter: @weaverryan
>
> > On Wed, Jun 22, 2011 at 1:59 PM, fernando.portal
> > <[email protected]>wrote:
>
> > > Ok, Thanks, check the online documentation to remove that controller.
>
> > > On 22 jun, 04:57, Christophe COEVOET <[email protected]> wrote:
> > > > Le 22/06/2011 06:54, fernando.portal a crit :> I am a new Symfony2
> > > developer. Using Symfony2 beta5
> > > > > with this route;
> > > > > homepage:
> > > > > pattern: /
> > > > > defaults: { _controller: FrameworkBundle:Default:index }
>
> > > > > I get this message ...
> > > > > Unable to find controller "FrameworkBundle:Default" - class "Symfony
> > > > > \Bundle\FrameworkBundle\Controller\DefaultController" does not exist.
>
> > > > > I think I should see the word Hello!
>
> > > > This controller was removed in PR9 or so. So you cannot use it.
>
> > > > --
> > > > Christophe | Stof
>
> > > --
> > > If you want to report a vulnerability issue on symfony, please send it to
> > > security at symfony-project.com
>
> > > You received this message because you are subscribed to the Google
> > > Groups "symfony developers" group.
> > > To post to this group, send email to [email protected]
> > > To unsubscribe from this group, send email to
> > > [email protected]
> > > For more options, visit this group at
> > >http://groups.google.com/group/symfony-devs?hl=en
--
If you want to report a vulnerability issue on symfony, please send it to
security at symfony-project.com
You received this message because you are subscribed to the Google
Groups "symfony developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/symfony-devs?hl=en