I mean for example the following has to generate a valid URL to
MyController:
$this->Html->link('some title', array('controller'=>'my-controller'));but what I get is an error that says the My-controller has to be created. i.e. it does not recognize the existing MyController. can it be done in behaviour? ________________________________________ PHP & ASP .Net 3.5 web developer Java & C# desktop developer www.mohamnag.com On Fri, Aug 24, 2012 at 9:01 PM, lowpass <[email protected]> wrote: > Do you mean with slugs? You can specify the separator to use in the > behavior. > > On Fri, Aug 24, 2012 at 5:25 AM, Mohammad Naghavi <[email protected]> > wrote: > > Hi there, > > so I already know many TRICKS which can result in using hyphens instead > of > > underscores but the question is that even when the Google is clearly > > suggesting to use hyphens for the sake of better search results, is such > a > > feature included in CakePHP 2 or is there a right way of doing it inside > the > > router so that both generated and parsed URLs use hyphens? > > I was trying to avoid implementing a Router from ground up, so asked for > > help. > > > > regards, > > Mohammad > > > > -- > > You received this message because you are subscribed to the Google Groups > > "CakePHP" group. > > To post to this group, send email to [email protected]. > > To unsubscribe from this group, send email to > > [email protected]. > > Visit this group at http://groups.google.com/group/cake-php?hl=en-US. > > > > > > -- > You received this message because you are subscribed to the Google Groups > "CakePHP" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > Visit this group at http://groups.google.com/group/cake-php?hl=en-US. > > > -- You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. Visit this group at http://groups.google.com/group/cake-php?hl=en-US.
