Try these:

use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route;
use Sensio\Bundle\FrameworkExtraBundle\Configuration\Template;
use Sensio\Bundle\FrameworkExtraBundle\Configuration\ParamConverter;

   /**
    * @Route("/", name="home")
    * @Template()
    */

and
    * @ParamConverter("id", class="VendorThingBundle:MyEntity")


On May 23, 5:23 pm, keymaster <ad...@optionosophy.com> wrote:
> I've switched everything over to @ORM\ and @Assert\
>
> But not sure what the proper replacement is for @extra.
>
> Does it need to be changed also?
>
> If so, what class should we"use" ?
> What should the new annotation form look like?
>
> Getting this error (worked fine in beta1):
>
> [1/2] AnnotationException: [Semantical Error] The annotation "@extra:Route"
> in method
> WCCore\StaticPagesBundle\Controller\StaticPagesController::displayAction()
> was never imported.

-- 
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 users" group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en

Reply via email to