Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Message from discussion @Route annotation and default _format problem
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post will appear after it is approved by moderators
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Paul Aan  
View profile  
 More options Oct 14 2012, 11:04 am
From: Paul Aan <weburni...@gmail.com>
Date: Sun, 14 Oct 2012 22:03:57 +0700
Local: Sun, Oct 14 2012 11:03 am
Subject: Re: [symfony-devs] @Route annotation and default _format problem

You should try to remove cache folder (dev or prod) to refresh whole things!

Cheers.

On Sun, Oct 14, 2012 at 5:16 PM, Thomas Lundquist <

thoma...@redpill-linpro.com> wrote:
> On Fri, Oct 12, 2012 at 03:33:47PM -0700, David Rolston wrote:
> > I have some routes like this one (using annotation style) :

> >     /**
> >      * @Route("/account.{_format}/{
> > id}", name="member_account_get", defaults={"id"="0","_format"="json"});
> >      * @Method("GET")
> >      */

> > member_account_get                   GET
>  /member/account.{_format}/{id}

> > app_dev.php/member/account/1007  does not work.

> What about:

> app_dev.php/member/account./1007 ?

> BTW, I use the Accept header instead of URL based formatting.

> Thomas

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

--
Hoài Ân
Skype: mrgluexv
0903744334

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.